summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/ecore_con/ecore_con.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index fece5f30d6..d28a84582a 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -1176,7 +1176,7 @@ ecore_con_event_client_data(Ecore_Con_Client *cl, unsigned char *buf, int num, E
1176 cl->host_server->event_count = eina_list_append(cl->host_server->event_count, e); 1176 cl->host_server->event_count = eina_list_append(cl->host_server->event_count, e);
1177 _ecore_con_cl_timer_update(cl); 1177 _ecore_con_cl_timer_update(cl);
1178 e->client = cl; 1178 e->client = cl;
1179 if (duplicate) 1179 if ((duplicate) && (num > 0))
1180 { 1180 {
1181 e->data = malloc(num); 1181 e->data = malloc(num);
1182 if (!e->data) 1182 if (!e->data)