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:
parent
5f9096914e
commit
58e65c4a31
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user