mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
fix possible double free when requests get aborted
This commit is contained in:
parent
11795d2772
commit
31e4e25f82
7 changed files with 41 additions and 8 deletions
|
@ -110,4 +110,7 @@ char* http_get_info(CURL* http_handle) {
|
|||
cJSON_Delete(response_json);
|
||||
|
||||
return response_json_str;
|
||||
}
|
||||
}
|
||||
|
||||
//the address sanitizer falsely flags any malloc operation as a memory leak
|
||||
const char* __asan_default_options() { return "detect_leaks=false"; }
|
Loading…
Add table
Add a link
Reference in a new issue