Skip to content

Commit

Permalink
wallpaper: Plug a memory leak
Browse files Browse the repository at this point in the history
Spotted during review of the screenshot changes, which are basically
a copy of this code.
  • Loading branch information
GeorgesStavracas committed Aug 10, 2022
1 parent 90361a0 commit 12ff0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallpaper.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ handle_set_wallpaper_in_thread_func (GTask *task,
else
{
g_autoptr(GDesktopAppInfo) info = NULL;
const gchar *id;
g_autofree gchar *id = NULL;
const gchar *name;

id = g_strconcat (app_id, ".desktop", NULL);
Expand Down

0 comments on commit 12ff0c8

Please sign in to comment.