From: Jardel Weyrich Date: Wed, 30 Dec 2009 07:03:54 +0000 (-0200) Subject: Eradicated the last free() call. Let mm_free() take care of deallocation. X-Git-Tag: release-2.0.4-alpha~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0546ce11e88c6c8b20c3ac85cb05fb0155e73a59;p=libevent Eradicated the last free() call. Let mm_free() take care of deallocation. --- diff --git a/evdns.c b/evdns.c index 8511c542..6df9eb7d 100644 --- a/evdns.c +++ b/evdns.c @@ -2629,7 +2629,7 @@ request_new(struct evdns_base *base, int type, const char *name, int flags, if (!req) return NULL; if (name_len >= sizeof(namebuf)) { - free(req); + mm_free(req); return NULL; }