Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Commit

Permalink
NULL check
Browse files Browse the repository at this point in the history
  • Loading branch information
fzwoch committed Dec 17, 2019
1 parent 2a4ab90 commit 84ed791
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnome-mutter-screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,8 @@ static void stop(data_t *data)
g_free(data->session_path);
data->session_path = NULL;

g_object_unref(dbus);
if (dbus != NULL)
g_object_unref(dbus);

obs_source_output_video(data->source, NULL);
}
Expand Down

0 comments on commit 84ed791

Please sign in to comment.