http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61393fa
)
winmm: Return error on NULL ioProc (Coverity).
author
Marcus Meissner
<marcus@jet.franken.de>
Sat, 17 Oct 2009 15:29:48 +0000
(17:29 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 19 Oct 2009 09:41:52 +0000
(11:41 +0200)
dlls/winmm/mmio.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winmm/mmio.c
b/dlls/winmm/mmio.c
index 5205e8a6a0a4fccc56100be5379d85ce39746087..14fb4e3d83d41c37a65ee595b3df325e6ce4b776 100644
(file)
--- a/
dlls/winmm/mmio.c
+++ b/
dlls/winmm/mmio.c
@@
-345,8
+345,8
@@
static LRESULT send_message(struct IOProcList* ioProc, LPMMIOINFO mmioinfo,
LPARAM lp1 = lParam1, lp2 = lParam2;
if (!ioProc) {
- ERR("
brrr
\n");
- re
sult =
MMSYSERR_INVALPARAM;
+ ERR("
ioProc NULL
\n");
+ re
turn
MMSYSERR_INVALPARAM;
}
if (ioProc->is_unicode != is_unicode) {