Fixed a few if(arg) g_free(arg); soc.2008.masterpassword

Wed, 27 Aug 2008 10:00:45 +0000

author
Vivien Bernet-Rollande <scrouaf@soc.pidgin.im>
date
Wed, 27 Aug 2008 10:00:45 +0000
branch
soc.2008.masterpassword
changeset 34012
43d0c66ef588
parent 34011
6ae90dd5a3b8
child 34013
988e67e95a6a

Fixed a few if(arg) g_free(arg);

libpurple/account.c file | annotate | diff | comparison | revisions
--- a/libpurple/account.c	Wed Aug 27 09:54:49 2008 +0000
+++ b/libpurple/account.c	Wed Aug 27 10:00:45 2008 +0000
@@ -1637,8 +1637,8 @@
 
 	g_return_if_fail(account != NULL);
 
-	if (account->password != NULL)
-		g_free(account->password);
+	g_free(account->password);
+
 	account->password = g_strdup(password);
 
 	if (purple_account_get_remember_password(account) == FALSE) {

mercurial