BUG: Remove memory leak
This commit is contained in:
parent
8ee95c2c57
commit
b629f608d4
@ -421,6 +421,7 @@ destroyCurlTransaction(curlTransaction * const curlTransactionP) {
|
|||||||
curl_slist_free_all(curlTransactionP->headerList);
|
curl_slist_free_all(curlTransactionP->headerList);
|
||||||
strfree(curlTransactionP->serverUrl);
|
strfree(curlTransactionP->serverUrl);
|
||||||
curl_easy_cleanup(curlTransactionP->curlSessionP);
|
curl_easy_cleanup(curlTransactionP->curlSessionP);
|
||||||
|
free(curlTransactionP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user