Mercurial > pidgin
comparison libpurple/dnssrv.c @ 22124:df77b89a4025
Fix a memleak that doesn't matter because it's in a child process
destined for death
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 16 Jan 2008 07:32:30 +0000 |
parents | bfe1854bbf87 |
children | d1b36a8c920a |
comparison
equal
deleted
inserted
replaced
22121:0a0fa9fd5feb | 22124:df77b89a4025 |
---|---|
356 } | 356 } |
357 | 357 |
358 /* Child */ | 358 /* Child */ |
359 if (pid == 0) | 359 if (pid == 0) |
360 { | 360 { |
361 g_free(query); | |
362 | |
361 close(out[0]); | 363 close(out[0]); |
362 close(in[1]); | 364 close(in[1]); |
363 resolve(in[0], out[1]); | 365 resolve(in[0], out[1]); |
366 /* resolve() does not return */ | |
364 } | 367 } |
365 | 368 |
366 close(out[1]); | 369 close(out[1]); |
367 close(in[0]); | 370 close(in[0]); |
368 | 371 |