forked from enlightenment/efl
ecore: Fix memory allocation size in ecore_thread_feedback()
Patch by Daniel Willmann <d.willmann@samsung.com> SVN revision: 77340
This commit is contained in:
parent
63e697d752
commit
94978e3079
|
@ -54,3 +54,4 @@ Jérémy Zurcher <jeremy@asynk.ch>
|
|||
Vikram Narayanan <vikram186@gmail.com>
|
||||
Seong-ho Cho (DarkCircle) <darkcircle.0426@gmail.com>
|
||||
Patryk Kaczmarek <patryk.k@samsung.com>
|
||||
Daniel Willmann <d.willmann@samsung.com>
|
||||
|
|
|
@ -970,3 +970,7 @@
|
|||
|
||||
* Fix ecore_imf buf in the ibus module where it may segv
|
||||
accessing a wrong context handle.
|
||||
|
||||
2012-10-02 Daniel Willmann
|
||||
|
||||
* Fix memory allocation size in ecore_thread_feedback()
|
||||
|
|
|
@ -25,6 +25,7 @@ Fixes:
|
|||
* ecore_file_escape_name() escape taba nd newline right.
|
||||
* ecore_x_image_is_argb32_get() returns correctly given endianness.
|
||||
* ecore_imf ibus module potential segv fixed.
|
||||
* ecore_thread_feedback() memory allocation and corruption fixed.
|
||||
|
||||
Improvements:
|
||||
|
||||
|
|
|
@ -1107,7 +1107,7 @@ ecore_thread_feedback(Ecore_Thread *thread,
|
|||
Ecore_Pthread_Message *msg;
|
||||
Ecore_Pthread_Notify *notify;
|
||||
|
||||
msg = malloc(sizeof (Ecore_Pthread_Message*));
|
||||
msg = malloc(sizeof (Ecore_Pthread_Message));
|
||||
if (!msg) return EINA_FALSE;
|
||||
msg->data = data;
|
||||
msg->callback = EINA_FALSE;
|
||||
|
|
Loading…
Reference in New Issue