mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Safely unref the device list
This commit is contained in:
+1
-1
@@ -548,7 +548,7 @@ PyDeviceManager_enumerate_devices (PyDeviceManager * self)
|
||||
{
|
||||
PyList_SET_ITEM (devices, i, PyDevice_from_handle (frida_device_list_get (result, i)));
|
||||
}
|
||||
g_object_unref (result);
|
||||
frida_unref (result);
|
||||
|
||||
return devices;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user