Commit 40026a7e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

mmsystem.dll16: Check for NULL ptr in mmioRename (Coverity).

parent 91fbdb56
......@@ -631,6 +631,7 @@ MMRESULT16 WINAPI mmioRename16(LPCSTR szFileName, LPCSTR szNewFileName,
inst = TRUE;
}
memset(&mmioinfo, 0, sizeof(mmioinfo));
if (lpmmioinfo)
mmioinfo.fccIOProc = lpmmioinfo->fccIOProc;
ret = mmioRenameA(szFileName, szNewFileName, &mmioinfo, dwRenameFlags);
if (inst) {
......
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