changeset 14079:25a2b762cd61

[gaim-migrate @ 16700] stuff allocated by g_malloc() should be freed with g_free() committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 11 Aug 2006 02:42:13 +0000
parents 20a17388c767
children ec4a3eb4c709
files src/account.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/account.c	Fri Aug 11 02:40:31 2006 +0000
+++ b/src/account.c	Fri Aug 11 02:42:13 2006 +0000
@@ -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");