1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r15834: fixed a memory leak in the session code

(This used to be commit 8a7047c102cdbcf746dcdf8a52554816b7770026)
This commit is contained in:
Andrew Tridgell 2006-05-23 06:52:22 +00:00 committed by Gerald (Jerry) Carter
parent d8223e4b94
commit e5e9bcd398

View File

@ -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);