mesa: free current ComputeProgram state in _mesa_free_context_data
authorTapani Pälli <tapani.palli@intel.com>
Wed, 20 Sep 2017 06:29:16 +0000 (09:29 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 21 Sep 2017 05:10:51 +0000 (08:10 +0300)
commit589457d97fa8e95f227e7179e9c89a01dff495a0
treecd62b2371337dac8219a7af19ae7b0bc754cc869
parentdb4222fc542821d8a187426cdf3abe997ee0120d
mesa: free current ComputeProgram state in _mesa_free_context_data

This is already done for other programs stages, fixes a leak when using
compute programs.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102844
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/mesa/main/context.c