Changeset 60248 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Mar 29, 2016 3:57:49 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106286
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPit-i8254.cpp
r59523 r60248 297 297 int errno_eviocgsnd0 = 0; 298 298 int errno_kiocsound = 0; 299 if (ioctl(fd, EVIOCGSND(0)) != -1)299 if (ioctl(fd, EVIOCGSND(0)) == -1) 300 300 { 301 301 errno_eviocgsnd0 = errno; … … 1405 1405 LogRel(("PIT: speaker: emulation deactivated\n")); 1406 1406 #endif 1407 RTStrFree(pszPassthroughSpeakerDevice); 1408 pszPassthroughSpeakerDevice = NULL; 1407 if (pszPassthroughSpeakerDevice) 1408 { 1409 MMR3HeapFree(pszPassthroughSpeakerDevice); 1410 pszPassthroughSpeakerDevice = NULL; 1411 } 1409 1412 } 1410 1413 pThis->channels[0].irq = u8Irq;
Note:
See TracChangeset
for help on using the changeset viewer.