src/shell: Plug some small leaks
Spotted by coverity in CID 351284 and 351288. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1950>
This commit is contained in:
@ -862,7 +862,7 @@ replay_to_json (gint64 time,
|
||||
gpointer user_data)
|
||||
{
|
||||
ReplayToJsonClosure *closure = user_data;
|
||||
char *event_str;
|
||||
g_autofree char *event_str = NULL;
|
||||
|
||||
if (closure->error != NULL)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user