forked from enlightenment/enlightenment
notification - stop allocating wrong struct type for noti actions
the structs size was bigger so it didnt cause any real problem other than allocating too much mem. this fixes that
This commit is contained in:
parent
79a7c8e95c
commit
2386831529
|
@ -433,7 +433,8 @@ notify_cb(const Eldbus_Service_Interface *iface EINA_UNUSED, const Eldbus_Messag
|
||||||
|
|
||||||
printf("NOT: act=[%s] [%s]\n", txt, txt2);
|
printf("NOT: act=[%s] [%s]\n", txt, txt2);
|
||||||
num++;
|
num++;
|
||||||
actions = realloc(n->actions, (num + 1) * sizeof(E_Notification_Notify));
|
actions = realloc(n->actions, (num + 1) *
|
||||||
|
sizeof(E_Notification_Notify_Action));
|
||||||
if (actions)
|
if (actions)
|
||||||
{
|
{
|
||||||
n->actions = actions;
|
n->actions = actions;
|
||||||
|
|
Loading…
Reference in New Issue