[Mesa-dev] [PATCH 0/4] Several memory leak fixes

Aaron Watry awatry at gmail.com
Thu Aug 21 09:06:41 PDT 2014


Compute on evergreen has slowly developed a few more memory leaks (or maybe
I had never finished fixing them all before).

One of the leaks got in when the memory pool work went in recently, the
others seem to have been around for a while.

The last patch (aux/pipe_loader) seems to affect more than just CL on r600.

After this series, I show a total of 568 bytes definitely leaks when running:
piglit/bin/cl-program-tester piglit/tests/cl/program/execute/vload-int.cl

Before, the total was ~8-9k.

r600/compute: Don't leak compute pool
r600g/compute: Don't leak cbufs in compute state
r600g/compute: Stop leaking CL kernel bytecode/resources
aux/pipe_loader: Don't leak dlerror string on dlopen


More information about the mesa-dev mailing list