diff options
author | Tomas Bzatek <[email protected]> | 2020-07-24 15:09:08 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-08-03 13:46:35 +0200 |
commit | e9163da19693a6268a83d25ffd4472e8e0590d7d (patch) | |
tree | 8f65746f028feddca764970aa7be00a2c586abe7 /applets/clock/clock.c | |
parent | f91d7212976bf5a5a71cdb0c5cdf107083c17767 (diff) | |
download | mate-panel-e9163da19693a6268a83d25ffd4472e8e0590d7d.tar.bz2 mate-panel-e9163da19693a6268a83d25ffd4472e8e0590d7d.tar.xz |
clock: Fix GError double free
Let the GError ownership on the async finish method call.
Diffstat (limited to 'applets/clock/clock.c')
-rw-r--r-- | applets/clock/clock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c index 0d313faf..b7c7135f 100644 --- a/applets/clock/clock.c +++ b/applets/clock/clock.c @@ -1692,8 +1692,6 @@ set_time_callback (ClockData *cd, GError *error) g_signal_connect (dialog, "response", G_CALLBACK (gtk_widget_destroy), NULL); gtk_window_present (GTK_WINDOW (dialog)); - - g_error_free (error); } else update_set_time_button (cd); |