VirtualBox

Ignore:
Timestamp:
May 27, 2022 6:59:25 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/dbgkrnlinfo-r0drv-nt.cpp: cleanup. bugref:9845

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/dbgkrnlinfo-r0drv-nt.cpp

    r93115 r95126  
    676676                rc = rtR0DbgKrnlNtQueryModules(&pInfo, cModules, &cModules);
    677677                if (RT_SUCCESS(rc))
    678                 {
    679678                    rc = rtR0DbgKrnlNtSearchForModuleWorker(pInfo, cModules, pModInfo);
    680                     RTMemFree(pInfo);
    681                 }
    682679            }
    683680        }
    684681        else
    685682        {
    686             RTMemFree(pInfo);
    687683            RTR0DBG_NT_ERROR_LOG(("rtR0DbgKrnlNtInit: Error! Only %u module(s) returned!\n", cModules));
    688684            rc = VERR_BUFFER_UNDERFLOW;
    689685        }
     686
     687        RTMemFree(pInfo);
    690688    }
    691689
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette