diff -r baa839a7633f -r 8170f658f017 ucx/string.c --- a/ucx/string.c Fri Jul 19 14:17:12 2013 +0200 +++ b/ucx/string.c Sat Jul 20 11:13:26 2013 +0200 @@ -165,13 +165,13 @@ } if ((*n) == nmax) break; } - result = (sstr_t*) allocator->malloc(sizeof(sstr_t) * (*n)); + result = (sstr_t*) allocator->malloc(allocator->pool, sizeof(sstr_t)*(*n)); if (result) { char *pptr = sv.ptr; for (size_t i = 0 ; i < *n ; i++) { size_t l = strlen(pptr); - char* ptr = (char*) allocator->malloc(l + 1); + char* ptr = (char*) allocator->malloc(allocator->pool, l + 1); memcpy(ptr, pptr, l); ptr[l] = 0;