changeset 27300:61b4d2eb3006

Fix a small memory leak.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 29 Jun 2009 03:02:58 +0000
parents bd85e78518b7
children a1603a9cda5e
files libpurple/protocols/yahoo/yahoo.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo.c	Mon Jun 29 00:17:57 2009 +0000
+++ b/libpurple/protocols/yahoo/yahoo.c	Mon Jun 29 03:02:58 2009 +0000
@@ -2158,6 +2158,7 @@
 		}
 		else	/* we are already connected. set friend to YAHOO_P2PSTATUS_WE_ARE_CLIENT */
 			yahoo_friend_set_p2p_status(f, YAHOO_P2PSTATUS_WE_ARE_CLIENT);
+		g_free(who);
 		return;
 	}