Fix potential memory leak
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 8s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 8s
Fixes #5
This commit is contained in:
parent
8974c7b31f
commit
f8b2f63554
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ char *c_simple_http_combine_string_parts(const SDArchiverLinkedList *list) {
|
|||
if (simple_archiver_list_get(
|
||||
list, c_simple_http_internal_combine_string_parts_from_list, ptrs)) {
|
||||
free(buf);
|
||||
free(ptrs);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue