From 4ef3cf96ffbf75adc6757209ad0a27db958ef554 Mon Sep 17 00:00:00 2001 From: Sascha Kruse Date: Sat, 23 Feb 2013 00:46:19 +0000 Subject: [PATCH] fix possible memory corruption --- dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus.c b/dbus.c index 1a0b575..1da1468 100644 --- a/dbus.c +++ b/dbus.c @@ -112,7 +112,7 @@ static void onNotify(GDBusConnection * connection, gchar *icon = NULL; gchar *summary = NULL; gchar *body = NULL; - Actions *actions = malloc(sizeof(actions)); + Actions *actions = malloc(sizeof(Actions)); gint timeout = -1; /* hints */