msi: Fix memory leaks in deformat_string_internal.

This commit is contained in:
Hans Leidekker 2010-05-20 12:00:53 +02:00 committed by Alexandre Julliard
parent 594a70f550
commit a4c25196b0
1 changed files with 3 additions and 3 deletions

View File

@ -805,12 +805,12 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
format.deformatted = *data;
format.len = *len;
stack = create_stack();
temp = create_stack();
if (!verify_format(*data))
return ERROR_SUCCESS;
stack = create_stack();
temp = create_stack();
while ((type = format_lex(&format, &str)) != FORMAT_NULL)
{
if (type == FORMAT_LBRACK || type == FORMAT_LBRACE ||