summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_thread.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2012-10-03 05:55:32 +0000
committerCedric BAIL <cedric.bail@free.fr>2012-10-03 05:55:32 +0000
commit94978e30793cba4972266f7cd9a79578e71d07fd (patch)
tree3735bc1d512d2c9d928101062be9fef303a7fa0c /legacy/ecore/src/lib/ecore/ecore_thread.c
parent63e697d752fbfc915b3c4810d38a193b20776f26 (diff)
ecore: Fix memory allocation size in ecore_thread_feedback()
Patch by Daniel Willmann <d.willmann@samsung.com> SVN revision: 77340
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_thread.c b/legacy/ecore/src/lib/ecore/ecore_thread.c
index 87688ed3f3..5c6880bcbf 100644
--- a/legacy/ecore/src/lib/ecore/ecore_thread.c
+++ b/legacy/ecore/src/lib/ecore/ecore_thread.c
@@ -1107,7 +1107,7 @@ ecore_thread_feedback(Ecore_Thread *thread,
1107 Ecore_Pthread_Message *msg; 1107 Ecore_Pthread_Message *msg;
1108 Ecore_Pthread_Notify *notify; 1108 Ecore_Pthread_Notify *notify;
1109 1109
1110 msg = malloc(sizeof (Ecore_Pthread_Message*)); 1110 msg = malloc(sizeof (Ecore_Pthread_Message));
1111 if (!msg) return EINA_FALSE; 1111 if (!msg) return EINA_FALSE;
1112 msg->data = data; 1112 msg->data = data;
1113 msg->callback = EINA_FALSE; 1113 msg->callback = EINA_FALSE;