don't free memory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@985 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
67a4663f8b
commit
a465d5662a
1 changed files with 1 additions and 2 deletions
|
@ -43,10 +43,9 @@ void CopyToClipboard(HWND hwnd) {
|
|||
EmptyClipboard();
|
||||
existing_text[0]=0;
|
||||
GetDlgItemText(hwnd, IDC_LOGWIN, existing_text, len);
|
||||
GlobalUnlock(mem);
|
||||
SetClipboardData(CF_TEXT,existing_text);
|
||||
CloseClipboard();
|
||||
GlobalUnlock(mem);
|
||||
GlobalFree(mem);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue