Valgrind tells me this:
I'm systematically using NO_ALLOC in my calls to ocrDbCreate, but in a case when I try to allocate a small block (16 bytes), it seems that tlsf-allocator is used.
I was expecting malloc to be used instead.
My understanding is that when using custom allocators, one has to deal with the fact that the allocators use a part of the allocated space. This probably rules out allocating a really small buffer like this one. So I don't want to use any custom allocator (at the moment).