mesa: don't leak performance monitors on context destroy
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 29 Nov 2013 10:52:27 +0000 (05:52 -0500)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 4 Dec 2013 14:20:36 +0000 (06:20 -0800)
commit267679be84de5bc9d2bd0fccb1712bc5cddb6be7
tree424c0749c5879f0e8fb79138abf10075e8fbdf89
parentc45cf6199fc493538cef33125c8a97a892e2ca83
mesa: don't leak performance monitors on context destroy

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "10.0" <mesa-stable@lists.freedesktop.org>
src/mesa/main/context.c
src/mesa/main/performance_monitor.c
src/mesa/main/performance_monitor.h