im.pidgin.pidgin: 9df2fc149cf63f4ef4232f57f841a386130e61d1

markdoliner at pidgin.im markdoliner at pidgin.im
Wed Jan 16 02:35:43 EST 2008


-----------------------------------------------------------------
Revision: 9df2fc149cf63f4ef4232f57f841a386130e61d1
Ancestor: 947ccb889812585e6d53eac13fc12734d8481e33
Author: markdoliner at pidgin.im
Date: 2008-01-16T07:32:30
Branch: im.pidgin.pidgin

Modified files:
        libpurple/dnssrv.c

ChangeLog: 

Fix a memleak that doesn't matter because it's in a child process
destined for death

-------------- next part --------------
============================================================
--- libpurple/dnssrv.c	e5eadaaa7b13f1130e6144c212890b140d7e9a96
+++ libpurple/dnssrv.c	dbd72924c31734085a7b32e9f647972fffd33fa3
@@ -358,9 +358,12 @@ purple_srv_resolve(const char *protocol,
 	/* Child */
 	if (pid == 0)
 	{
+		g_free(query);
+
 		close(out[0]);
 		close(in[1]);
 		resolve(in[0], out[1]);
+		/* resolve() does not return */
 	}
 
 	close(out[1]);


More information about the Commits mailing list