Skip to content

Commit

Permalink
Fix memleak in cache after readlink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Jun 16, 2024
1 parent eadf7f1 commit 8bb9d33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 8bb9d33

Please sign in to comment.