fix possible memory corruption
This commit is contained in:
parent
7af28d7145
commit
4ef3cf96ff
2
dbus.c
2
dbus.c
@ -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 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user