From a7438cce4e99761303aca0ef1bc65ca2cdf2bb98 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 4 Aug 2011 17:32:22 +0200 Subject: s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Thu Aug 4 19:06:39 CEST 2011 on sn-devel-104 --- source3/nmbd/nmbd_packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index 0324c9dd42..c7ecfc6d36 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -1723,7 +1723,7 @@ static bool create_listen_pollfds(struct pollfd **pfds, if (fds == NULL) { DEBUG(1, ("create_listen_pollfds: malloc fail for attrs. " "size %d\n", count)); - SAFE_FREE(fds); + TALLOC_FREE(fds); return true; } -- cgit