ARB prog parser: Don't leak program string
authorIan Romanick <ian.d.romanick@intel.com>
Tue, 27 Oct 2009 18:46:29 +0000 (11:46 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 28 Oct 2009 00:06:18 +0000 (17:06 -0700)
commit8df9587d68752f3369cc1eda1606d3b7c1041ec6
treecb06b8c324442556aef30307d2173fe3babf1aa0
parent0f255d195651f104a0c0bed84039b656d94ac4cc
ARB prog parser: Don't leak program string

The program string is kept in the program object.  On the second call
into glProgramStringARB the previous kept string would be leaked.
src/mesa/shader/program_parse.y