[gdm] daemon: Fix double free of GError
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: Fix double free of GError
- Date: Thu, 28 Sep 2017 18:01:55 +0000 (UTC)
commit 9583197ab7b1e7ad471769dd3941ed729a65b988
Author: Robert Ancell <robert ancell canonical com>
Date: Thu Sep 28 13:31:25 2017 -0400
daemon: Fix double free of GError
https://bugzilla.gnome.org/show_bug.cgi?id=788300
daemon/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/daemon/main.c b/daemon/main.c
index 010fff2..d45fab9 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -340,7 +340,7 @@ main (int argc,
if (! res) {
g_warning ("%s", error->message);
g_error_free (error);
- goto out;
+ exit (1);
}
if (print_version) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]