Changeset 44763 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray
- Timestamp:
- Feb 20, 2013 1:32:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r44735 r44763 1384 1384 { 1385 1385 LogFlow(("VBoxTray: (WDDM) Failed QueryDisplayConfig \n")); 1386 if (pPathInfoArray) 1387 free(pPathInfoArray); 1388 if (pModeInfoArray) 1389 free(pModeInfoArray); 1386 free(pPathInfoArray); 1387 free(pModeInfoArray); 1390 1388 return dwStatus; 1391 1389 } … … 1412 1410 if (dwStatus != ERROR_SUCCESS) 1413 1411 { 1414 if (pPathInfoArray) 1415 free(pPathInfoArray); 1416 if (pModeInfoArray) 1417 free(pModeInfoArray); 1412 free(pPathInfoArray); 1413 free(pModeInfoArray); 1418 1414 LogRel(("VBoxTray:(WDDM) Failed to Enable/ disable the monitor.")); 1419 1415 return dwStatus; 1420 1416 } 1421 if (pPathInfoArray) 1422 free(pPathInfoArray); 1423 if (pModeInfoArray) 1424 free(pModeInfoArray); 1417 free(pPathInfoArray); 1418 free(pModeInfoArray); 1425 1419 return ERROR_SUCCESS; 1426 1420 } … … 1456 1450 { 1457 1451 LogFlow(("VBoxTray: (WDDM) Failed QueryDisplayConfig \n")); 1458 if (pPathInfoArray) 1459 free(pPathInfoArray); 1460 if (pModeInfoArray) 1461 free(pModeInfoArray); 1452 free(pPathInfoArray); 1453 free(pModeInfoArray); 1462 1454 return dwStatus; 1463 1455 } … … 1479 1471 if (dwStatus != ERROR_SUCCESS) 1480 1472 { 1481 if (pPathInfoArray) 1482 free(pPathInfoArray); 1483 if (pModeInfoArray) 1484 free(pModeInfoArray); 1473 free(pPathInfoArray); 1474 free(pModeInfoArray); 1485 1475 LogRel(("VBoxTray:(WDDM) Failed to Enable/ disable the monitor.")); 1486 1476 return dwStatus; 1487 1477 } 1488 if (pPathInfoArray) 1489 free(pPathInfoArray); 1490 if (pModeInfoArray) 1491 free(pModeInfoArray); 1478 free(pPathInfoArray); 1479 free(pModeInfoArray); 1492 1480 return ERROR_SUCCESS; 1493 1481 }
Note:
See TracChangeset
for help on using the changeset viewer.