From a7438cce4e99761303aca0ef1bc65ca2cdf2bb98 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Thu, 4 Aug 2011 17:32:22 +0200 Subject: [PATCH] s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds(). MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 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(-) diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index 0324c9dd427..c7ecfc6d366 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; } -- 2.11.4.GIT