summaryrefslogtreecommitdiffstats
path: root/src/applet
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2011-04-22 19:34:22 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2011-04-22 19:34:22 +0200
commitb6e67ed551aef7e1273317978075e4e034e18d73 (patch)
tree6f90c9e0f06d7cf0dd7fa2965049f05a03b9906c /src/applet
parent4d26c2ecb7aec9d0e3f2a70baa832ee168a10831 (diff)
downloadabrt-b6e67ed551aef7e1273317978075e4e034e18d73.tar.gz
abrt-b6e67ed551aef7e1273317978075e4e034e18d73.tar.xz
abrt-b6e67ed551aef7e1273317978075e4e034e18d73.zip
applet: fixed segfault when abrtd is restarted rhbz#698934
Diffstat (limited to 'src/applet')
-rw-r--r--src/applet/applet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/applet/applet.c b/src/applet/applet.c
index eee3d108..e965a3ba 100644
--- a/src/applet/applet.c
+++ b/src/applet/applet.c
@@ -164,7 +164,7 @@ static void NameOwnerChanged(DBusMessage* signal)
}
// hide icon if it's visible - as NM and don't show it, if it's not
- if (!new_owner[0])
+ if (applet && !new_owner[0])
hide_icon(applet);
}