acomminos/wine-pba

Large (reported) memory leak from fence-batched free changes

acomminos opened this issue · 1 comments

Changes in the fence-batching frees are responsible for a memory leak. Look into this.

Okay, this is comically straightforward to fix. An element in the free list was extraneously allocated, going unnoticed in the refactoring of element_insert_range.

+ elem = element_new(range.offset, range.size);

I'll update the patchset in an hour or so. Serves me right for writing patches late at night.