changeset 15730:86c41495fd8f

Leak fix and printf removal.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 26 Feb 2007 04:39:42 +0000
parents da4813f14457
children 4ffeecc47fd3
files pidgin/gtkaccount.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkaccount.c	Mon Feb 26 04:21:41 2007 +0000
+++ b/pidgin/gtkaccount.c	Mon Feb 26 04:39:42 2007 +0000
@@ -2577,9 +2577,9 @@
 			default_avatar = NULL;
 		}
 	}
-		
-printf("AVATAR: %s\n", default_avatar);
+
 	gaim_prefs_add_path("/gaim/gtk/accounts/buddyicon", default_avatar);
+	g_free(default_avatar);
 
 	gaim_signal_register(pidgin_account_get_handle(), "account-modified",
 						 gaim_marshal_VOID__POINTER, NULL, 1,