# HG changeset patch # User Daniel Atallah # Date 1155264133 0 # Node ID 25a2b762cd61a4f0c0b4bb6033bdfd3244788034 # Parent 20a17388c76712c012cfe6a940f3551661dbef84 [gaim-migrate @ 16700] stuff allocated by g_malloc() should be freed with g_free() committer: Tailor Script diff -r 20a17388c767 -r 25a2b762cd61 src/account.c --- 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");