elm_sys_notify.c: fixed memory illegal access issue spotted by coverity. CID 1039984.

This commit is contained in:
Daniel Juyung Seo 2013-07-05 19:09:22 +09:00
parent 7714e068c7
commit 2af97e24a0
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ _on_action_invoked(void *data EINA_UNUSED,
return;
}
d = malloc(sizeof(*d));
d = calloc(1, sizeof(*d));
if (!eldbus_message_arguments_get(msg, "us", &(d->id), &aux))
{