diff -r e79a60b3a7cb -r 7c3ff86ee9d4 ui/motif/range.c --- a/ui/motif/range.c Sun Apr 16 10:20:21 2023 +0200 +++ b/ui/motif/range.c Tue May 23 11:11:28 2023 +0200 @@ -31,7 +31,6 @@ #include "range.h" #include "container.h" -#include #include "../common/context.h" #include "../common/object.h" @@ -61,8 +60,8 @@ } if(f) { - UiEventData *event = ucx_mempool_malloc( - obj->ctx->mempool, + UiEventData *event = cxMalloc( + obj->ctx->allocator, sizeof(UiEventData)); event->obj = obj; event->userdata = userdata;