mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
Fix CID 1138340 Resource leak
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b2937fd618
commit
c943937ec6
@ -166,6 +166,7 @@ static int test_strdup(void)
|
||||
if (strcmp("bla", x) != 0) {
|
||||
printf("failure: strdup [\nfailed: expected \"bla\", got \"%s\"\n]\n",
|
||||
x);
|
||||
free(x);
|
||||
return false;
|
||||
}
|
||||
free(x);
|
||||
|
Loading…
x
Reference in New Issue
Block a user