Wed, 21 Jan 2015 20:38:21 +0100
fixed memory allocation bug
ui/motif/list.c | file | annotate | diff | comparison | revisions |
--- 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;