Safely unref the device list

This commit is contained in:
Ole André Vadla Ravnås
2015-03-04 14:48:26 +01:00
parent 9ea37121fb
commit 77d89e4b6d
+1 -1
View File
@@ -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;
}