Commit 143482a7 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

Success of 'SHGetMalloc()' should be tested with the SUCCEEDED macro.

/!\   This commit is _NOT COMPILE TESTED_. (I don't have a windows build environment available)
 
See PR 60086.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1832198 13f79535-47bb-0310-9956-ffa450edef68
parent 21d05348
Loading
Loading
Loading
Loading
+1 −1
Changes for support/win32/ApacheMonitor.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -912,7 +912,7 @@ LRESULT CALLBACK ConnectDlgProc(HWND hDlg, UINT message,
                            WM_SETTEXT,
                            (WPARAM) NULL, (LPARAM) szCmp);
            }
            if (SHGetMalloc(&pMalloc)) {
            if (SUCCEEDED(SHGetMalloc(&pMalloc))) {
                pMalloc->lpVtbl->Free(pMalloc, il);
                pMalloc->lpVtbl->Release(pMalloc);
            }