mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:55:39 +00:00
[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:
parent
8762a0ee20
commit
be753549c2
1 changed files with 1 additions and 1 deletions
|
@ -2828,7 +2828,7 @@ ShellLink_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINFO lpici )
|
||||||
}
|
}
|
||||||
else if (This->sArgs != NULL)
|
else if (This->sArgs != NULL)
|
||||||
{
|
{
|
||||||
args = This->sArgs;
|
args = strdupW( This->sArgs );
|
||||||
}
|
}
|
||||||
|
|
||||||
memset( &sei, 0, sizeof sei );
|
memset( &sei, 0, sizeof sei );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue