fix possible memory corruption

This commit is contained in:
Sascha Kruse 2013-02-23 00:46:19 +00:00
parent 7af28d7145
commit 4ef3cf96ff

2
dbus.c
View File

@ -112,7 +112,7 @@ static void onNotify(GDBusConnection * connection,
gchar *icon = NULL; gchar *icon = NULL;
gchar *summary = NULL; gchar *summary = NULL;
gchar *body = NULL; gchar *body = NULL;
Actions *actions = malloc(sizeof(actions)); Actions *actions = malloc(sizeof(Actions));
gint timeout = -1; gint timeout = -1;
/* hints */ /* hints */