diff -r 2cb06c231057 -r bc63cb601f6d ui/motif/range.c --- a/ui/motif/range.c Mon May 22 19:44:27 2023 +0200 +++ b/ui/motif/range.c Mon May 22 21:21:20 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;