diff --git a/digestauth.c b/digestauth.c index 7c16c04..92bd470 100644 --- a/digestauth.c +++ b/digestauth.c @@ -442,10 +442,8 @@ int http_digest_auth_check(const char *http_method, const char *url, if (('\0' != *end) || ((LONG_MAX == nci) && (ERANGE == errno))) { DD(DEBUG, "Authentication failed, invalid format."); - free(end); return MHD_NO; /* invalid nonce format */ } - free(end); /* * Checking if that combination of nonce and nc is sound