diff options
author | Rob Clark <[email protected]> | 2015-07-08 13:30:22 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-07-10 11:57:30 -0400 |
commit | 0a8af6361eecaba0f34a668328746924b61caa6a (patch) | |
tree | 675f3a7c9bd82f7ea5f08adc9d8ccb2c432bfaf9 /src/gallium/include/pipe | |
parent | f12302b89836a24255674a251f7a6902b4e9af7c (diff) |
xa: don't leak fences
XA was never unref'ing last_fence in the various call paths to
pipe->flush(). Add this to xa_context_flush() and update the other
open-coded calls to pipe->flush() to use xa_context_flush() instead.
This fixes a memory leak reported with xf86-video-freedreno.
Reported-by: Nicolas Dechesne <[email protected]>
Cc: "10.5 10.6" <[email protected]>
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe')
0 files changed, 0 insertions, 0 deletions