Skip to content
Snippets Groups Projects
Commit 352c9397 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

Fixed small memory corruption.

parent 857eb392
No related branches found
No related tags found
No related merge requests found
......@@ -1161,7 +1161,8 @@ DWORD MCI_Open(DWORD dwParam, LPMCI_OPEN_PARMSA lpParms)
/* FIXME is there any memory leak here ? */
MCI_GetOpenDrv(wDevID)->lpstrAlias = strdup(lpParms->lpstrAlias);
/* mplayer does allocate alias to CDAUDIO */
}
} else
MCI_GetOpenDrv(wDevID)->lpstrAlias = NULL;
if (dwParam & MCI_OPEN_TYPE) {
if (dwParam & MCI_OPEN_TYPE_ID) {
#if 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment