Label: Fix extra memory allocation of edje message.

Summary: Edje_Message_Float_Set struct is already allocating double and hence no need to add extra double allocation.

Reviewers: Hermet, jpeg, cedric, singh.amitesh

Reviewed By: singh.amitesh

Differential Revision: https://phab.enlightenment.org/D4035
This commit is contained in:
Yeshwanth Reddivari 2016-06-10 13:36:57 +05:30 committed by Amitesh Singh
parent 1dbff7d2b8
commit 55135870ec
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ _label_slide_change(Evas_Object *obj)
}
Edje_Message_Float_Set *msg =
alloca(sizeof(Edje_Message_Float_Set) + (sizeof(double)));
alloca(sizeof(Edje_Message_Float_Set));
msg->count = 1;
msg->val[0] = sd->slide_duration;