diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-25 02:26:10 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:13 -0500 |
commit | b0044d19502fbed933fe04ef5230e3dae5997c55 (patch) | |
tree | 9300c8456826fafb499e962adaccee95e4981561 /source4/torture/auth | |
parent | ab6ae6838eaad3f7e31cb7dd3ce8ac4a75fd2c84 (diff) | |
download | samba-b0044d19502fbed933fe04ef5230e3dae5997c55.tar.gz samba-b0044d19502fbed933fe04ef5230e3dae5997c55.tar.bz2 samba-b0044d19502fbed933fe04ef5230e3dae5997c55.zip |
r11282: Fix memory leak in LOCAL-PAC test.
Andrew Bartlett
(This used to be commit c8bf7d32ebdc9bc795ce45a6d250a2378ac803aa)
Diffstat (limited to 'source4/torture/auth')
-rw-r--r-- | source4/torture/auth/pac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c index 41dbc08599..221454280e 100644 --- a/source4/torture/auth/pac.c +++ b/source4/torture/auth/pac.c @@ -360,7 +360,7 @@ static BOOL torture_pac_saved_check(void) tmp_blob.data = (uint8_t *)file_load(pac_file, &tmp_blob.length, mem_ctx); printf("(saved test) Loaded pac of size %d from %s\n", tmp_blob.length, pac_file); } else { - tmp_blob = data_blob(saved_pac, sizeof(saved_pac)); + tmp_blob = data_blob_talloc(mem_ctx, saved_pac, sizeof(saved_pac)); } dump_data(10,tmp_blob.data,tmp_blob.length); |