curl_setup.h: drop superfluous parenthesis from Curl_safefree macro

Cherry-picked from #19626
Closes #19734
This commit is contained in:
Viktor Szakats 2025-11-27 20:08:43 +01:00
parent 986e6d4eae
commit 63eb0627b1
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -941,7 +941,7 @@ extern curl_calloc_callback Curl_ccalloc;
* This macro also assigns NULL to given pointer when free'd.
*/
#define Curl_safefree(ptr) \
do { free((ptr)); (ptr) = NULL;} while(0)
do { free(ptr); (ptr) = NULL;} while(0)
#include <curl/curl.h> /* for CURL_EXTERN, mprintf.h */