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

Commit

Permalink
error stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
fzwoch committed Dec 17, 2019
1 parent 1eb6b5e commit 2a4ab90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gnome-mutter-screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static void stop(data_t *data)
blog(LOG_ERROR, "Cannot connect to DBus: %s", err->message);
g_error_free(err);

return;
goto fail;
}

g_dbus_connection_call_sync(dbus, "org.gnome.Mutter.ScreenCast",
Expand All @@ -373,9 +373,10 @@ static void stop(data_t *data)
blog(LOG_ERROR, "Cannot call Stop() on DBus: %s", err->message);
g_error_free(err);

return;
goto fail;
}

fail:
g_free(data->session_path);
data->session_path = NULL;

Expand Down

0 comments on commit 2a4ab90

Please sign in to comment.