[Xfce4-commits] [xfce/xfce4-power-manager] 02/02: Fix coverity cid 107694 Uninitialized pointer read

noreply at xfce.org noreply at xfce.org
Wed Apr 1 18:56:27 CEST 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit 9d86417e6c67c23555700357519e37ac252c331a
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Wed Apr 1 19:45:23 2015 +0300

    Fix coverity cid 107694 Uninitialized pointer read
---
 libdbus/xfpm-dbus.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libdbus/xfpm-dbus.c b/libdbus/xfpm-dbus.c
index e7c411f..6a41894 100644
--- a/libdbus/xfpm-dbus.c
+++ b/libdbus/xfpm-dbus.c
@@ -24,7 +24,7 @@ gboolean
 xfpm_dbus_name_has_owner (GDBusConnection *connection, const gchar *name)
 {
     GError *error = NULL;
-    const gchar *owner;
+    const gchar *owner = NULL;
     gboolean ret;
     GVariant *var;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list