- Timestamp:
- Sep 7, 2009 4:34:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/hgcm/HGCM.cpp
r22732 r22814 1038 1038 { 1039 1039 ASMAtomicIncU32 (&m_u32RefCnt); 1040 LogFlowFunc((" m_u32RefCnt = %d\n", m_u32RefCnt));1040 LogFlowFunc(("[%s] m_u32RefCnt = %d\n", m_pszSvcName, m_u32RefCnt)); 1041 1041 } 1042 1042 … … 1361 1361 else 1362 1362 { 1363 LogRel((" [%s] hgcmMsgAlloc(%p, SVC_MSG_DISCONNECT) failed %Rrc\n",1364 RT_VALID_PTR(m_pszSvcName)? m_pszSvcName: "", m_thread, rc));1363 LogRel(("(%d, %d) [%s] hgcmMsgAlloc(%p, SVC_MSG_DISCONNECT) failed %Rrc\n", 1364 u32ClientId, fFromService, RT_VALID_PTR(m_pszSvcName)? m_pszSvcName: "", m_thread, rc)); 1365 1365 } 1366 1366 } … … 1377 1377 if (m_cClients > i) 1378 1378 { 1379 memmove (&m_paClientIds[i], &m_paClientIds[i + 1], m_cClients - i);1379 memmove (&m_paClientIds[i], &m_paClientIds[i + 1], sizeof (m_paClientIds[0]) * (m_cClients - i)); 1380 1380 } 1381 1381 1382 /* Delete the client handle. */ 1383 hgcmObjDeleteHandle (u32ClientId); 1384 1385 /* The service must be released. */ 1386 ReleaseService (); 1387 1382 1388 break; 1383 1389 } 1384 1390 } 1385 1386 /* Delete the client handle. */1387 hgcmObjDeleteHandle (u32ClientId);1388 1389 /* The service must be released. */1390 ReleaseService ();1391 1391 1392 1392 LogFlowFunc(("rc = %Rrc\n", rc));
Note:
See TracChangeset
for help on using the changeset viewer.