mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix crashy search_reset() on macOS
This commit is contained in:
parent
ada2db0739
commit
2a1dae6336
1 changed files with 3 additions and 3 deletions
|
|
@ -1876,10 +1876,10 @@ GList *tty_search_for_serial_devices(void)
|
||||||
|
|
||||||
// Fill in device information
|
// Fill in device information
|
||||||
device->path = g_strdup(path);
|
device->path = g_strdup(path);
|
||||||
device->tid = "";
|
device->tid = g_strdup("");
|
||||||
device->uptime = uptime;
|
device->uptime = uptime;
|
||||||
device->driver = "";
|
device->driver = g_strdup("");
|
||||||
device->description = "";
|
device->description = g_strdup("");
|
||||||
|
|
||||||
// Add device information to device list
|
// Add device information to device list
|
||||||
device_list = g_list_append(device_list, device);
|
device_list = g_list_append(device_list, device);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue