aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-02-03 22:01:20 -0600
committerTed Gould <ted@gould.cx>2012-02-03 22:01:20 -0600
commit18b22173e0e0f07cdfe75bb3bd15ae7ad80e4e97 (patch)
tree8c12e33fc8b4135f661ec8f12eb977da8e1c2197 /src
parent79e3bfeacfc134a7a96b2a47b2ca3f285535262c (diff)
downloadayatana-indicator-application-18b22173e0e0f07cdfe75bb3bd15ae7ad80e4e97.tar.gz
ayatana-indicator-application-18b22173e0e0f07cdfe75bb3bd15ae7ad80e4e97.tar.bz2
ayatana-indicator-application-18b22173e0e0f07cdfe75bb3bd15ae7ad80e4e97.zip
Ensuring that the values are initialized to NULL before using that later.
Diffstat (limited to 'src')
-rw-r--r--src/application-service-appstore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 587557e..8b06eec 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -268,8 +268,8 @@ bus_method_call (GDBusConnection * connection, const gchar * sender,
ApplicationServiceAppstore * service = APPLICATION_SERVICE_APPSTORE(user_data);
GVariant * retval = NULL;
Application *app = NULL;
- gchar *dbusaddress;
- gchar *dbusmenuobject;
+ gchar *dbusaddress = NULL;
+ gchar *dbusmenuobject = NULL;
if (g_strcmp0(method, "GetApplications") == 0) {
retval = get_applications(service);