Verified Commit 088e2bbd authored by Jan Ziak's avatar Jan Ziak 💬
Browse files

Fix a memory leak

parent 318d8c9b
Pipeline #97 failed with stages
in 4 minutes and 34 seconds
......@@ -860,12 +860,10 @@ garcon_menu_item_new (GFile *file)
g_free (action_group);
}
else
g_free (*mt);
}
/* Cleanup */
g_free (str_list);
g_strfreev (str_list);
}
else
......@@ -898,11 +896,9 @@ garcon_menu_item_new (GFile *file)
g_free (action_group);
}
else
g_free (*mt);
}
g_free (str_list);
g_strfreev (str_list);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment