git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b4d75
)
s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds().
author
Günther Deschner
<gd@samba.org>
Thu, 4 Aug 2011 15:32:22 +0000
(17:32 +0200)
committer
Günther Deschner
<gd@samba.org>
Thu, 4 Aug 2011 17:06:39 +0000
(19:06 +0200)
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Aug 4 19:06:39 CEST 2011 on sn-devel-104
source3/nmbd/nmbd_packets.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_packets.c
b/source3/nmbd/nmbd_packets.c
index 0324c9dd4274402d31d2088785f79bd94f3a1762..c7ecfc6d3668a9ac456bc1720103f220dc985973 100644
(file)
--- 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;
}