Re: [Mesa-dev] [PATCH] gallium/hud: do not use free() for the free_query_data hook

2013-06-24 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Jun 24, 2013 at 6:44 PM, Brian Paul wrote: > That confuses Gallium's memory debugging code where CALLOC/MALLOC > must be matched with FREE, not free(). > --- > src/gallium/auxiliary/hud/hud_cpu.c | 12 +++- > src/gallium/auxiliary/hud/hud_fp

[Mesa-dev] [PATCH] gallium/hud: do not use free() for the free_query_data hook

2013-06-24 Thread Brian Paul
That confuses Gallium's memory debugging code where CALLOC/MALLOC must be matched with FREE, not free(). --- src/gallium/auxiliary/hud/hud_cpu.c | 12 +++- src/gallium/auxiliary/hud/hud_fps.c | 12 +++- src/gallium/auxiliary/hud/hud_private.h |2 +- 3 files changed,