[gaim-migrate @ 6382]

Sun, 22 Jun 2003 17:08:52 +0000

author
Christian Hammond <chipx86@chipx86.com>
date
Sun, 22 Jun 2003 17:08:52 +0000
changeset 5942
57686167281a
parent 5941
46e136a842b8
child 5943
8a052155157a

[gaim-migrate @ 6382]
Another leakbug fixed!

src/account.c file | annotate | diff | comparison | revisions
--- a/src/account.c	Sun Jun 22 17:03:03 2003 +0000
+++ b/src/account.c	Sun Jun 22 17:08:52 2003 +0000
@@ -839,6 +839,10 @@
 		}
 		else {
 			data->account = gaim_account_new(buffer, data->protocol);
+
+			if (data->account->protocol_id != NULL)
+				g_free(data->account->protocol_id);
+
 			data->account->protocol_id = data->protocol_id;
 
 			gaim_accounts_add(data->account);

mercurial