mesa: free debug messages when destroying the debug state
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 13 Apr 2018 05:23:57 +0000 (15:23 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 13 Apr 2018 12:20:48 +0000 (22:20 +1000)
commita63e69f5f0b4d960bd106068d8c7d13b82fea759
treeb76102686b58d2e98070ecdeeeef68cb8f06ae2e
parentc500ab2735df0b7020b44d24449ffb1d2e29275b
mesa: free debug messages when destroying the debug state

Fixes: 04a8baad3721 "mesa: refactor _mesa_PopDebugGroup and _mesa_free_errors_data"
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98281
src/mesa/main/debug_output.c