gallium/hud: do not use free() for the free_query_data hook
authorBrian Paul <brianp@vmware.com>
Mon, 24 Jun 2013 16:43:16 +0000 (10:43 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 24 Jun 2013 20:23:54 +0000 (14:23 -0600)
commite3cbb18321b530ab01f57f21b22d38b89efcaec4
treedc168a65eda92fa8109dc25fac8109b3476912b6
parente5bf19ac1cf28fb588d8caf9397cd3c016737378
gallium/hud: do not use free() for the free_query_data hook

That confuses Gallium's memory debugging code where CALLOC/MALLOC
must be matched with FREE, not free().

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/auxiliary/hud/hud_cpu.c
src/gallium/auxiliary/hud/hud_fps.c
src/gallium/auxiliary/hud/hud_private.h