git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f871861
)
r20312: Fix a memleak
author
Volker Lendecke
<vlendec@samba.org>
Thu, 21 Dec 2006 22:30:21 +0000
(22:30 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:16:40 +0000
(12:16 -0500)
(This used to be commit
20d3bc3549ef89a6405e186b87b50027d2321ac0
)
source3/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source3/smbd/trans2.c
b/source3/smbd/trans2.c
index cb7e55c83f698738d40582c0fe6b388c51f9626b..c1f7f1b5baa1384c8e2199460df4151c3a534e0d 100644
(file)
--- a/
source3/smbd/trans2.c
+++ b/
source3/smbd/trans2.c
@@
-459,7
+459,7
@@
struct ea_list *read_ea_list_entry(TALLOC_CTX *ctx, const char *pdata, size_t da
return NULL;
}
- eal->ea.value = data_blob
(
NULL, (size_t)val_len + 1);
+ eal->ea.value = data_blob
_talloc(eal,
NULL, (size_t)val_len + 1);
if (!eal->ea.value.data) {
return NULL;
}