Merge pull request #305 from jpalus/fix-link-leak

Fix memleak in cache after readlink
This commit is contained in:
Haoxi Tan 2024-11-05 08:01:26 +10:00 committed by GitHub
commit c9bf8ad451
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ static void free_node(gpointer node_)
{
struct node *node = (struct node *) node_;
g_strfreev(node->dir);
g_free(node->link);
g_free(node);
}