libpurple/connection.c

branch
soc.2008.masterpassword
changeset 34145
fa72f1e5cd77
parent 34108
7a07b6857540
child 34147
2cd5b3806558
--- a/libpurple/connection.c	Tue Mar 26 17:08:15 2013 +0100
+++ b/libpurple/connection.c	Thu Mar 28 09:49:16 2013 +0100
@@ -284,7 +284,7 @@
 
 	purple_account_set_connection(account, NULL);
 
-	g_free(gc->password);
+	purple_str_wipe(gc->password);
 	g_free(gc->display_name);
 
 	if (gc->disconnect_timeout > 0)
@@ -453,10 +453,6 @@
 	return gc->prpl;
 }
 
-
-/**
- * FIXME : all the calling tree needs to be async.
- */
 const char *
 purple_connection_get_password(const PurpleConnection *gc)
 {

mercurial