diff options
-rw-r--r-- | tools/notify-send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c index 7fd9efe..65963ff 100644 --- a/tools/notify-send.c +++ b/tools/notify-send.c @@ -301,7 +301,7 @@ main (int argc, char *argv[]) if (!retval) { fprintf (stderr, "%s\n", error->message); - g_error_free (error); + g_clear_error (&error); hint_error = TRUE; } } @@ -379,7 +379,7 @@ main (int argc, char *argv[]) if (!retval) { fprintf (stderr, "%s\n", error->message); - g_error_free (error); + g_clear_error (&error); show_error = TRUE; } } |