On Thu, Nov 17, 2016 at 03:44:07PM +0100, Vincent Bernat wrote: > >> - ts = pool_alloc2(t->pool) + t->data_size; > >> + ts = pool_alloc2(t->pool); > >> + if (unlikely(ts == NULL)) > >> + return NULL; > >> + ts += t->data_size; > >> if (ts) { > > ^^^^^^^^^ > > will always be true. > > Wow, dunno how I missed that!
Because you're a human, now I have the proof :-) > Updated patch sent. Merged, thanks! Willy