git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3274e8
)
r15834: fixed a memory leak in the session code
author
Andrew Tridgell
<tridge@samba.org>
Tue, 23 May 2006 06:52:22 +0000
(06:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:08:30 +0000
(14:08 -0500)
source/libcli/auth/session.c
patch
|
blob
|
history
diff --git
a/source/libcli/auth/session.c
b/source/libcli/auth/session.c
index afa7afbd0fbc34b747ad9fbb533b8c611b0b3960..280a0d282c072830ab44486798b234cde9f070f0 100644
(file)
--- a/
source/libcli/auth/session.c
+++ b/
source/libcli/auth/session.c
@@
-151,7
+151,7
@@
DATA_BLOB sess_encrypt_blob(TALLOC_CTX *mem_ctx, DATA_BLOB *blob_in, const DATA_
return data_blob(NULL, 0);
}
- ret = data_blob
(
NULL, 8+dlen);
+ ret = data_blob
_talloc(mem_ctx,
NULL, 8+dlen);
if (!ret.data) {
data_blob_free(&src);
return data_blob(NULL, 0);