[gnome-control-center] info: Avoid re-using a non-NULL error
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: Avoid re-using a non-NULL error
- Date: Mon, 24 Oct 2011 16:22:51 +0000 (UTC)
commit 9770f2a332801342c8dca0e1ec8ef6d19cf0295a
Author: Bastien Nocera <hadess hadess net>
Date: Tue Sep 20 16:52:40 2011 +0100
info: Avoid re-using a non-NULL error
panels/info/cc-info-panel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 5f51056..fa4c29e 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -1585,6 +1585,7 @@ info_panel_set_hostname (CcInfoPanel *self,
{
g_warning ("Could not set PrettyHostname: %s", error->message);
g_error_free (error);
+ error = NULL;
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]