]> git.cworth.org Git - fips/commitdiff
Fix resource leaks when switching contexts.
authorCarl Worth <cworth@cworth.org>
Wed, 30 Oct 2013 21:35:21 +0000 (14:35 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 31 Oct 2013 23:26:11 +0000 (16:26 -0700)
Previously, fips was already freeing memory that it had allocated for
its own linked lists of outstanding queries when switching contexts.

In addition, in this commit, we also now call End on any active
timer-query/performance-monitor and then call Delete on all queries
for which we have not previously collected results.

This avoids leaks within the OpenGL implementation as it holds on to
results that fips will never ask for.


No differences found