git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
namequery: Fix a missing TALLOC_FREE
[bbaumbach/samba-autobuild/.git]
/
source3
/
libsmb
/
namequery.c
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index 8138296f1e3bc106f64930c82779033e9fd30507..d44b04376c0ed90e62b3dcc9b4d1bf1690c7659f 100644
(file)
--- a/
source3/libsmb/namequery.c
+++ b/
source3/libsmb/namequery.c
@@
-2666,6
+2666,7
@@
NTSTATUS internal_resolve_name(const char *name,
*/
resolve_order = filter_out_nbt_lookup(frame, resolve_order);
if (resolve_order == NULL) {
+ TALLOC_FREE(frame);
return NT_STATUS_NO_MEMORY;
}
}