glsl: Fix memory leak in builtin_builder::_image_prototype.
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 1 Oct 2014 10:12:38 +0000 (12:12 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Thu, 2 Oct 2014 13:39:05 +0000 (15:39 +0200)
commitdb8cd4d519d8b4cb2c05901e4f1a80a41ae67b2b
tree95d95ee3945d55dc1a833c2635778af2098cf06d
parentf4b4ae8c241943b8ca65e7a00f272fe23ed73727
glsl: Fix memory leak in builtin_builder::_image_prototype.

in_var calls the ir_variable constructor, which dups the variable name.

Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/builtin_functions.cpp