OSDN Git Service

main: Fix memory leak in _mesa_make_extension_string()
authorChad Versace <chad.versace@linux.intel.com>
Mon, 9 Apr 2012 20:59:03 +0000 (13:59 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 10 Apr 2012 00:31:51 +0000 (17:31 -0700)
commit36fef005b191fcd3fa858abb5f2aa6e7229e2c60
tree55e812d3a8588f8e199743dadf9f3744aa186cce
parent783e4da72aa203a645737dec81b001341951a942
main: Fix memory leak in _mesa_make_extension_string()

I forgot to free the string returned by strdup().

Note: This is a candidate for the stable branches.
CC: Johannes Obermayr <johannesobermayr@gmx.de>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/main/extensions.c