mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- IntEmptyClipboardData: Check before freeing a potential null pointer
svn path=/trunk/; revision=41143
This commit is contained in:
parent
acf1233799
commit
e6b91f9ede
1 changed files with 4 additions and 1 deletions
|
@ -229,7 +229,10 @@ IntEmptyClipboardData()
|
|||
while(ce)
|
||||
{
|
||||
tmp = ce->next;
|
||||
if (ce->hData)
|
||||
{
|
||||
ExFreePool(ce->hData);
|
||||
}
|
||||
ExFreePool(ce);
|
||||
ce = tmp;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue