VirtualBox

儲存庫 vbox 的更動 15349


忽略:
時間撮記:
2008-12-12 上午02:36:19 (16 年 以前)
作者:
vboxsync
訊息:

VMM: Fixed linked list bug responsible for #3379.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VM.cpp

    r15317 r15349  
    21252125    {
    21262126        /* fill data. */
    2127         pNew->pNext     = NULL;
    21282127        pNew->pszDesc   = pszDesc;
    21292128        pNew->pvUser    = pvUser;
    21302129
    21312130        /* insert */
     2131        pNew->pNext     = *pUVM->vm.s.ppAtResetNext;
    21322132        *pUVM->vm.s.ppAtResetNext = pNew;
    21332133        pUVM->vm.s.ppAtResetNext = &pNew->pNext;
     
    25382538    pNew->pfnAtState = pfnAtState;
    25392539    pNew->pvUser     = pvUser;
    2540     pNew->pNext      = NULL;
    25412540
    25422541    /* insert */
     2542    pNew->pNext      = *pUVM->vm.s.ppAtStateNext;
    25432543    *pUVM->vm.s.ppAtStateNext = pNew;
    25442544    pUVM->vm.s.ppAtStateNext = &pNew->pNext;
     
    27092709    pNew->pfnAtError = pfnAtError;
    27102710    pNew->pvUser     = pvUser;
    2711     pNew->pNext      = NULL;
    27122711
    27132712    /* insert */
     2713    pNew->pNext      = *pUVM->vm.s.ppAtErrorNext;
    27142714    *pUVM->vm.s.ppAtErrorNext = pNew;
    27152715    pUVM->vm.s.ppAtErrorNext = &pNew->pNext;
     
    29942994    pNew->pfnAtRuntimeError = pfnAtRuntimeError;
    29952995    pNew->pvUser            = pvUser;
    2996     pNew->pNext             = NULL;
    29972996
    29982997    /* insert */
     2998    pNew->pNext             = *pUVM->vm.s.ppAtRuntimeErrorNext;
    29992999    *pUVM->vm.s.ppAtRuntimeErrorNext = pNew;
    30003000    pUVM->vm.s.ppAtRuntimeErrorNext = &pNew->pNext;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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