Skip to content

Commit

Permalink
emergency: Remove bogus curl_global_cleanup() at runtime
Browse files Browse the repository at this point in the history
Suggested by Walter Doekes (@wdoekes)

(cherry picked from commit f91c13a)
  • Loading branch information
liviuchircu committed Oct 8, 2020
1 parent 4dabfca commit 6c6930b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/emergency/post_curl.c
Expand Up @@ -119,7 +119,7 @@ int post(char* url, char* xml, char** response){
LM_DBG("CURL DEPOIS DO FREE...\n");
return resp;
}
curl_global_cleanup();

free(data.data);
return -1;
}

0 comments on commit 6c6930b

Please sign in to comment.