]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
no free data by response block
authorBastian Dehn <hhaalo@arcor.de>
Wed, 20 Mar 2024 14:43:06 +0000 (15:43 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 20 Mar 2024 14:43:06 +0000 (15:43 +0100)
src/kds_s2000w_client.c

index 09f2b30bb53a12deaacaf1f2278bafcf8a185425..9170129d5f51142730ec03bd3b4d154f26bd9caf 100644 (file)
@@ -57,8 +57,6 @@ void kds_s2000w_client_response_free(response* response)
        if (response == NULL)
                return;
 
-       free(response->data);
-       response->data = NULL;
        free(response);
        response = NULL;
 }