[gaim-migrate @ 16700]

Fri, 11 Aug 2006 02:42:13 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Fri, 11 Aug 2006 02:42:13 +0000
changeset 14141
cc05956d28dc
parent 14140
fcb570e0b2db
child 14142
97cb27b1093f

[gaim-migrate @ 16700]
stuff allocated by g_malloc() should be freed with g_free()

src/account.c file | annotate | diff | comparison | revisions
--- 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");

mercurial