summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-12-21 22:30:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:40 -0500
commitf023f8670969090f55adc96a6009d202ff672590 (patch)
tree736cf61b7caa9b02f8c7068fd6652de1f2545cc7 /source3/smbd
parentf871861673b09feeeafb3b5b204bddad1cb5cc4a (diff)
downloadsamba-f023f8670969090f55adc96a6009d202ff672590.tar.gz
samba-f023f8670969090f55adc96a6009d202ff672590.tar.bz2
samba-f023f8670969090f55adc96a6009d202ff672590.zip
r20312: Fix a memleak
(This used to be commit 20d3bc3549ef89a6405e186b87b50027d2321ac0)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/trans2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index cb7e55c83f..c1f7f1b5ba 100644
--- 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;
}