forked from enlightenment/efl
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:
parent
1dbff7d2b8
commit
55135870ec
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue