Skip to content

Commit 874ecd0

Browse files
committed
fix: spawn gating options
1 parent 19870ac commit 874ecd0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎frida/_frida/extension.c‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2782,10 +2782,16 @@ static PyObject *
27822782
PyDevice_enable_spawn_gating (PyDevice * self)
27832783
{
27842784
GError * error = NULL;
2785+
FridaSpawnGatingOptions * options;
2786+
2787+
options = frida_spawn_gating_options_new ();
27852788

27862789
Py_BEGIN_ALLOW_THREADS
2787-
frida_device_enable_spawn_gating_sync (PY_GOBJECT_HANDLE (self), g_cancellable_get_current (), &error);
2790+
frida_device_enable_spawn_gating_sync (PY_GOBJECT_HANDLE (self), options, g_cancellable_get_current (), &error);
27882791
Py_END_ALLOW_THREADS
2792+
2793+
g_object_unref (options);
2794+
27892795
if (error != NULL)
27902796
return PyFrida_raise (error);
27912797

0 commit comments

Comments
 (0)