Commit 1a36ccc0 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvfw32: Fix a memory leak.

parent 355b39cd
......@@ -1185,6 +1185,8 @@ end_of_mci_open:
if (!mwi->lasterror)
SendDlgItemMessageW(hWnd, CTL_TRACKBAR, TBM_SETRANGEMAX, 1,
SendMessageW(hWnd, MCIWNDM_GETLENGTH, 0, 0));
HeapFree(GetProcessHeap(), 0, cmdW);
}
if (wMsg == MCIWNDM_SETTIMEFORMATA)
......
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