From: <dat...@us...> - 2006-08-11 02:42:16
|
Revision: 16700 Author: datallah Date: 2006-08-10 19:42:13 -0700 (Thu, 10 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16700&view=rev Log Message: ----------- stuff allocated by g_malloc() should be freed with g_free() Modified Paths: -------------- trunk/src/account.c Modified: trunk/src/account.c =================================================================== --- trunk/src/account.c 2006-08-11 02:40:31 UTC (rev 16699) +++ trunk/src/account.c 2006-08-11 02:42:13 UTC (rev 16700) @@ -696,14 +696,14 @@ if ((protocol_id == NULL) || (name == NULL)) { - free(protocol_id); - free(name); + g_free(protocol_id); + g_free(name); return NULL; } ret = gaim_account_new(name, protocol_id); - free(name); - free(protocol_id); + g_free(name); + g_free(protocol_id); /* Read the password */ child = xmlnode_get_child(node, "password"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |