[SHELL32]

- Duplicate the string instead of freeing the memory twice at two different positions
- Fixes a heap warning when stating cmd from the desktop
See issue #4924 for more details.

svn path=/trunk/; revision=47305
This commit is contained in:
Gregor Schneider 2010-05-22 15:16:14 +00:00
parent 8762a0ee20
commit be753549c2

View file

@ -2828,7 +2828,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
}
else if (This->sArgs != NULL)
{
args = This->sArgs;
args = strdupW( This->sArgs );
}
memset( &sei, 0, sizeof sei );