Commit d9c52bfa authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Free the current filename if we choose to not extract the file.

parent 6a7fc507
......@@ -334,7 +334,12 @@ static INT_PTR cabinet_copy_file(FDINOTIFICATIONTYPE fdint,
data->curfile = strdupAtoW(pfdin->psz1);
if (!data->cb(data->package, data->curfile, MSICABEXTRACT_BEGINEXTRACT, &path,
&attrs, data->user))
{
/* We're not extracting this file, so free the filename. */
msi_free(data->curfile);
data->curfile = NULL;
goto done;
}
TRACE("extracting %s\n", debugstr_w(path));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment