# HG changeset patch # User Olaf Wintermann # Date 1421869101 -3600 # Node ID bc0ed99e49c7f4e92f106991f455ca186337b17b # Parent 3782827378ab4ff5bbbe86204ebd233d201dab3f fixed memory allocation bug diff -r 3782827378ab -r bc0ed99e49c7 ui/motif/list.c --- a/ui/motif/list.c Wed Jan 21 20:22:27 2015 +0100 +++ b/ui/motif/list.c Wed Jan 21 20:38:21 2015 +0100 @@ -81,7 +81,7 @@ if(f) { UiListViewEventData *event = ucx_mempool_malloc( obj->ctx->mempool, - sizeof(UiEventData)); + sizeof(UiListViewEventData)); event->event.obj = obj; event->event.user_data = udata; event->event.callback = f;