1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s3: Fix the talloc hierarchy in fetch_share_mode_unlocked

Thanks, metze for noticing!

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 13 13:16:44 CET 2012 on sn-devel-104
This commit is contained in:
Volker Lendecke 2012-01-11 19:51:53 +01:00 committed by Volker Lendecke
parent 1bbcc65399
commit afb8a7c870

View File

@ -454,7 +454,7 @@ struct share_mode_lock *fetch_share_mode_unlocked(TALLOC_CTX *mem_ctx,
TALLOC_FREE(data.dptr);
return NULL;
}
lck->data = parse_share_modes(mem_ctx, data);
lck->data = parse_share_modes(lck, data);
TALLOC_FREE(data.dptr);
if (lck->data == NULL) {
TALLOC_FREE(lck);