]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add missing fclose() when applying updates failed (rpz/testlib)
authorOndřej Surý <ondrej@isc.org>
Thu, 15 Aug 2024 07:28:26 +0000 (09:28 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 19 Aug 2024 10:04:19 +0000 (10:04 +0000)
commit2855ec8f5f963a487acc217e7de38f0fbfbc4343
treecd887f83d92e25360392b61d9173cef5bb82303d
parent661981be7b086c55b99d03f1d534b593fdfcf4e7
Add missing fclose() when applying updates failed (rpz/testlib)

In rpz system tests, we could leak file if the applying the updates has
failed.  Add the missing fclose() before returning.
bin/tests/system/rpz/testlib/test-data.c