j
k
j a
j l
Wouldn't we be leaking `buffer.data` in case `ctx->result != 0`, but `buffer.status = 0` ?
Yes, in fact we're leaking it either way; if allocation fails the existing memory is not freed, so this was already a problem. I'll add a patch to fix it.
Back to the thread
Back to the list