1
0
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:
Anoop C S 2015-08-03 13:59:33 +05:30 committed by Michael Adam
parent f57a235a1f
commit 661b4edd03

View File

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