summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-08-04 17:32:22 +0200
committerGünther Deschner <gd@samba.org>2011-08-04 19:06:39 +0200
commita7438cce4e99761303aca0ef1bc65ca2cdf2bb98 (patch)
tree3d5d7127a4b07a85447ce2a83dcc30203046c188
parentd3b4d75364210e2d2a4a1cd806f28b0021f22909 (diff)
downloadsamba-a7438cce4e99761303aca0ef1bc65ca2cdf2bb98.tar.gz
samba-a7438cce4e99761303aca0ef1bc65ca2cdf2bb98.tar.bz2
samba-a7438cce4e99761303aca0ef1bc65ca2cdf2bb98.zip
s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds().
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 4 19:06:39 CEST 2011 on sn-devel-104
-rw-r--r--source3/nmbd/nmbd_packets.c2
1 files changed, 1 insertions, 1 deletions
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;
}