]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix test lost byte
authorBastian Dehn <hhaalo@arcor.de>
Wed, 13 Mar 2024 14:45:19 +0000 (15:45 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 13 Mar 2024 14:45:19 +0000 (15:45 +0100)
tests/kds_s2000w_read_config_tests.c

index c6ebe59d823960a34f93b97f417bae83aefb04fd..1598864989866b9b860f1cf07f9b66752e3e54e2 100644 (file)
@@ -13,6 +13,8 @@ START_TEST(kds_s2000w_config_read_parameter)
 
        free(config->scanner_url);
        config->scanner_url = NULL;
+       free(config->username);
+       config->username = NULL;
        free(config);
        config = NULL;
 }
@@ -29,6 +31,8 @@ START_TEST(kds_s2000w_config_read_parameters_without_trim)
 
        free(config->scanner_url);
        config->scanner_url = NULL;
+       free(config->username);
+       config->username = NULL;
        free(config);
        config = NULL;
 }