(remove_entry): fix memleak.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2015-11-22 16:11:45 +00:00 committed by Andrew Borodin
parent 66a6185064
commit 957185a47b

View File

@ -530,7 +530,7 @@ remove_entry (tree_entry * entry)
ts.tree_last = entry->prev;
/* Free the memory used by the entry */
g_free (entry->name);
vfs_path_free (entry->name);
g_free (entry);
return ret;