mirror of
https://github.com/wjwwood/serial.git
synced 2026-01-22 11:44:53 +08:00
Merge pull request #95 from wjwwood/issue_90_refresh
Release io_iterator_t object when finished with it in list_ports_osx.cc.
This commit is contained in:
commit
1a70b09bb1
@ -279,6 +279,7 @@ serial::list_ports(void)
|
||||
devices_found.push_back(port_info);
|
||||
}
|
||||
|
||||
IOObjectRelease(serial_port_iterator);
|
||||
return devices_found;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user