1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

fix: memory leak

This commit is contained in:
Falk Werner 2019-03-03 15:15:55 +01:00
parent 5f9096914e
commit 58e65c4a31

View File

@ -32,7 +32,7 @@ void wsfsp_dirbuffer_add(
json_object_set_new(entry, "name", json_string(name));
json_object_set_new(entry, "inode", json_integer(inode));
json_array_append(buffer->entries, entry);
json_array_append_new(buffer->entries, entry);
}
json_t * wsfsp_dirbuffer_take(