Mercurial > pidgin.yaz
changeset 12094:08dd8a4b6bea
[gaim-migrate @ 14391]
Does g_free() vs. free() matter?
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 14 Nov 2005 23:47:57 +0000 |
parents | 78ca702b3338 |
children | 16be443fe00d |
files | src/protocols/bonjour/dns_sd.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/bonjour/dns_sd.c Mon Nov 14 23:37:06 2005 +0000 +++ b/src/protocols/bonjour/dns_sd.c Mon Nov 14 23:47:57 2005 +0000 @@ -347,7 +347,7 @@ data->session = g_malloc(sizeof(sw_discovery)); if (sw_discovery_init(data->session) != SW_OKAY) { - free(data->session); + g_free(data->session); data->session = NULL; gaim_debug_error("bonjour", "Unable to initialize an mDNS session.\n"); return FALSE;