mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib/talloc: Fix CID 1291639 Missing unlock
Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
f57a235a1f
commit
661b4edd03
@ -1828,6 +1828,7 @@ static bool test_pthread_talloc_passing(void)
|
||||
printf("pthread_cond_wait %d failed (%d)\n", i,
|
||||
ret);
|
||||
talloc_free(mem_ctx);
|
||||
pthread_mutex_unlock(&mtx);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user