]> git.ipfire.org Git - thirdparty/samba.git/commit
lib/util: Fix CID 1414760 - Resource leak
authorShweta Sodani <ssodani@redhat.com>
Mon, 22 Sep 2025 09:06:58 +0000 (14:36 +0530)
committerAnoop C S <anoopcs@samba.org>
Sun, 28 Sep 2025 09:30:56 +0000 (09:30 +0000)
commit33762753f0373ec525d0351c1bcce75e68227d73
tree7de7b7a7884f3dfed95f9e5101f597695af2a202
parent11299ccee304e5632197506689ffbb282b7eb11f
lib/util: Fix CID 1414760 - Resource leak

If read is failed torture_assert could return without freeing the t.
Fixing the leak.

Signed-off-by: Shweta Sodani <ssodani@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Vinit Agnihotri <vagnihot@redhat.com>
Reviewed-by: Anoop C S <anoopcs@samba.org>
Autobuild-User(master): Anoop C S <anoopcs@samba.org>
Autobuild-Date(master): Sun Sep 28 09:30:56 UTC 2025 on atb-devel-224
lib/util/tests/tfork.c