msvcrtd: Add missing return (Coverity)

André Hentschel nerv at dawncrow.de
Mon Jul 8 14:18:18 CDT 2013


---
 dlls/msvcrtd/debug.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msvcrtd/debug.c b/dlls/msvcrtd/debug.c
index 3ddfbbc..b849652 100644
--- a/dlls/msvcrtd/debug.c
+++ b/dlls/msvcrtd/debug.c
@@ -58,6 +58,7 @@ void * CDECL MSVCRTD_operator_new_dbg(MSVCRT_size_t nSize, int nBlockUse,
         return NULL;
     case _FREE_BLOCK:
         FIXME("Native code throws an exception here\n");
+        return NULL;
     case _CRT_BLOCK:
     case _IGNORE_BLOCK:
         ERR("Not allowed nBlockUse value: %d\n", _BLOCK_TYPE(nBlockUse));
-- 
1.8.1.2



More information about the wine-patches mailing list