/soc/2013/ankitkv/gobjectification: 3de2f1bf700b: Free the corre...
Ankit Vani
a at nevitus.org
Wed Aug 7 06:25:44 EDT 2013
Changeset: 3de2f1bf700b2aac4bfb4d8cb084476fecdea30c
Author: Ankit Vani <a at nevitus.org>
Date: 2013-08-07 15:49 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/3de2f1bf700b
Description:
Free the correct stuff
diffstat:
libpurple/prpl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 lines):
diff --git a/libpurple/prpl.c b/libpurple/prpl.c
--- a/libpurple/prpl.c
+++ b/libpurple/prpl.c
@@ -727,8 +727,8 @@ purple_protocols_get_all(void)
void
purple_protocols_init(void)
{
- protocols = g_hash_table_new_full(g_str_hash, g_str_equal,
- (GDestroyNotify)purple_protocol_destroy, NULL);
+ protocols = g_hash_table_new_full(g_str_hash, g_str_equal, g_free,
+ (GDestroyNotify)purple_protocol_destroy);
}
void *
More information about the Commits
mailing list