mirror of
https://github.com/curl/curl.git
synced 2026-07-23 18:07:16 +03:00
curl_setup.h: drop superfluous parenthesis from Curl_safefree macro
Cherry-picked from #19626 Closes #19734
This commit is contained in:
parent
986e6d4eae
commit
63eb0627b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue