From: Stefan Schantl Date: Sat, 17 Sep 2022 15:02:31 +0000 (+0200) Subject: Destroy ipset session on end of the testsuite. X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=95b33a230190487c3027e2c00d7b49483aad3147;p=people%2Fstevee%2Fperl-ipset.git Destroy ipset session on end of the testsuite. Signed-off-by: Stefan Schantl --- diff --git a/t/IPSet.t b/t/IPSet.t index 375690b..fdff527 100644 --- a/t/IPSet.t +++ b/t/IPSet.t @@ -103,3 +103,6 @@ ok($data->{entries} eq 0, "No entries anymore in the testset."); # CLEANUP: Delete the remaining set. &IPSet::delete_set($session, $testset{'name'}); + +# Destroy the ipset session. +&IPSet::DESTROY($session);