mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
r15834: fixed a memory leak in the session code
(This used to be commit 8a7047c102cdbcf746dcdf8a52554816b7770026)
This commit is contained in:
parent
d8223e4b94
commit
e5e9bcd398
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user