[Xfce4-commits] [apps/xfdashboard] 01/01: Fixed freeing an maybe uninitialized variable in XfdashboardGnomeShellSearchProvider by initializing it with NULL.

noreply at xfce.org noreply at xfce.org
Fri Mar 25 08:55:38 CET 2016


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

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 564eecf58b8237bafcdf5dda98170e7efb560d19
Author: Stephan Haller <nomad at froevel.de>
Date:   Fri Mar 25 08:52:55 2016 +0100

    Fixed freeing an maybe uninitialized variable in XfdashboardGnomeShellSearchProvider by initializing it with NULL.
    
    This should fix GH #123 (Upstream bug report from https://bugzilla.redhat.com/show_bug.cgi?id=1321186)
---
 plugins/gnome-shell-search-provider/gnome-shell-search-provider.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c
index 22aeea8..3853179 100644
--- a/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c
+++ b/plugins/gnome-shell-search-provider/gnome-shell-search-provider.c
@@ -620,6 +620,8 @@ static ClutterActor* _xfdashboard_gnome_shell_search_provider_create_result_acto
 	self=XFDASHBOARD_GNOME_SHELL_SEARCH_PROVIDER(inProvider);
 	priv=self->priv;
 	actor=NULL;
+	name=NULL;
+	description=NULL;
 	icon=NULL;
 	error=NULL;
 

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


More information about the Xfce4-commits mailing list