From: <the...@us...> - 2006-07-17 04:33:36
|
Revision: 16502 Author: thekingant Date: 2006-07-16 21:33:32 -0700 (Sun, 16 Jul 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16502&view=rev Log Message: ----------- Extremely minor memleak fix in the tcl loader plugin Modified Paths: -------------- trunk/plugins/tcl/tcl.c trunk/src/plugin.c Modified: trunk/plugins/tcl/tcl.c =================================================================== --- trunk/plugins/tcl/tcl.c 2006-07-17 04:30:50 UTC (rev 16501) +++ trunk/plugins/tcl/tcl.c 2006-07-17 04:33:32 UTC (rev 16502) @@ -380,10 +380,12 @@ gaim_stringref_unref(GaimTclRefConnection); gaim_stringref_unref(GaimTclRefConversation); gaim_stringref_unref(GaimTclRefPointer); + gaim_stringref_unref(GaimTclRefPlugin); gaim_stringref_unref(GaimTclRefPresence); gaim_stringref_unref(GaimTclRefStatus); gaim_stringref_unref(GaimTclRefStatusAttr); gaim_stringref_unref(GaimTclRefStatusType); + gaim_stringref_unref(GaimTclRefXfer); return TRUE; } Modified: trunk/src/plugin.c =================================================================== --- trunk/src/plugin.c 2006-07-17 04:30:50 UTC (rev 16501) +++ trunk/src/plugin.c 2006-07-17 04:33:32 UTC (rev 16502) @@ -843,8 +843,8 @@ } } - if (plugin->path != NULL) g_free(plugin->path); - if (plugin->error != NULL) g_free(plugin->error); + g_free(plugin->path); + g_free(plugin->error); GAIM_DBUS_UNREGISTER_POINTER(plugin); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |