On the verse of memory leaks
This commit is contained in:
@@ -29,6 +29,7 @@ char *key_value_pair_list_to_string(key_value_pair **head){
|
||||
}
|
||||
if(!ret){
|
||||
ret = strdup(kvp2str);
|
||||
free(kvp2str);
|
||||
kvp_it = kvp_it->next;
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user