]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add handler double free test
authorBastian Dehn <hhaalo@arcor.de>
Mon, 10 Nov 2025 18:18:55 +0000 (19:18 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 10 Nov 2025 18:18:55 +0000 (19:18 +0100)
tests/kds_s2000w_net_tests.c

index 8590c72bc579369a25d8dea965f84dc9edada405..dea4b005381879b20bb124979cc24f20d8903fb8 100644 (file)
@@ -299,6 +299,7 @@ void sane_kds_s2000w_net_open_test()
 
        kds_s2000w_handler_free(h);
        h = NULL;
+       kds_s2000w_handler_free(h);
        kds_s2000w_client_response_free(resp);
        resp = NULL;
        free(hlist);