msi: Fix memory leaks in deformat_string_internal.
This commit is contained in:
parent
594a70f550
commit
a4c25196b0
|
@ -805,12 +805,12 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
|
||||||
format.deformatted = *data;
|
format.deformatted = *data;
|
||||||
format.len = *len;
|
format.len = *len;
|
||||||
|
|
||||||
stack = create_stack();
|
|
||||||
temp = create_stack();
|
|
||||||
|
|
||||||
if (!verify_format(*data))
|
if (!verify_format(*data))
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
|
|
||||||
|
stack = create_stack();
|
||||||
|
temp = create_stack();
|
||||||
|
|
||||||
while ((type = format_lex(&format, &str)) != FORMAT_NULL)
|
while ((type = format_lex(&format, &str)) != FORMAT_NULL)
|
||||||
{
|
{
|
||||||
if (type == FORMAT_LBRACK || type == FORMAT_LBRACE ||
|
if (type == FORMAT_LBRACK || type == FORMAT_LBRACE ||
|
||||||
|
|
Loading…
Reference in New Issue