msi: Fix another double free.
commit55ad3fdda2453d36cda66f286b08cf5620c02523
authorHans Leidekker <hans@codeweavers.com>
Mon, 20 Apr 2009 14:09:12 +0000 (20 16:09 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 20 Apr 2009 15:40:43 +0000 (20 17:40 +0200)
tree2e2b8eebdb9f51a1938e588297aa4fb4c8e5a473
parent91ac47b84bc59617274783a431a5c46a36578ec2
msi: Fix another double free.

parser_alloc() allocates memory and puts it on a list attached the to query object.
EXPR_sval() frees memory allocated via parser_alloc() on error but does not remove
the pointer from the list, which means that when the query destructor is called it
will be freed again.
dlls/msi/sql.y