changeset 22125:70c84d8ccc57

merge of '167b1c9f831eb7790b419ee62343bb62ad1be92b' and '9df2fc149cf63f4ef4232f57f841a386130e61d1'
author Mark Doliner <mark@kingant.net>
date Wed, 16 Jan 2008 07:32:39 +0000
parents f55f84a1e3f7 (current diff) df77b89a4025 (diff)
children 91a4506b5808
files
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/dnssrv.c	Wed Jan 16 07:17:21 2008 +0000
+++ b/libpurple/dnssrv.c	Wed Jan 16 07:32:39 2008 +0000
@@ -358,9 +358,12 @@
 	/* 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]);