pidgin: c3bbcc1b: Leak fix for perl plugins.
sadrul at pidgin.im
sadrul at pidgin.im
Thu Oct 8 20:07:42 EDT 2009
-----------------------------------------------------------------
Revision: c3bbcc1b9bda38bfb8630149794b74ef6f5c0772
Ancestor: d10d90993212a85a64ed238ed02232c132c2820f
Author: sadrul at pidgin.im
Date: 2009-10-08T18:16:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c3bbcc1b9bda38bfb8630149794b74ef6f5c0772
Modified files:
libpurple/plugins/perl/perl.c
ChangeLog:
Leak fix for perl plugins.
-------------- next part --------------
============================================================
--- libpurple/plugins/perl/perl.c 2d5792a7a924aa434c06fd09ac1690a5e53d7ae1
+++ libpurple/plugins/perl/perl.c 94c2d8e29de889bbf3f653dacda15f2265edaa60
@@ -621,6 +621,9 @@ destroy_perl_plugin(PurplePlugin *plugin
g_free(gps);
plugin->info->extra_info = NULL;
}
+
+ g_free(plugin->info);
+ plugin->info = NULL;
}
}
More information about the Commits
mailing list