X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=src%2Fbindings%2Fpython%2Fbt2%2Fbt2%2Fnative_bt_trace.i.h;h=4b7f790426e1468997420657a0bcfa3cf6410b08;hp=e8cd75b7c891f622c3ba0f0e1c446dd54b46ea67;hb=498e7994d60bd0e9f63c3d5c0fd00eec77ba7c34;hpb=df831d31c076e8390cac3390f0cf48f862501b04 diff --git a/src/bindings/python/bt2/bt2/native_bt_trace.i.h b/src/bindings/python/bt2/bt2/native_bt_trace.i.h index e8cd75b7..4b7f7904 100644 --- a/src/bindings/python/bt2/bt2/native_bt_trace.i.h +++ b/src/bindings/python/bt2/bt2/native_bt_trace.i.h @@ -32,7 +32,7 @@ trace_destroyed_listener(const bt_trace *trace, void *py_callable) SWIGTYPE_p_bt_trace, 0); if (!py_trace_ptr) { BT_LOGF_STR("Failed to create a SWIG pointer object."); - abort(); + bt_common_abort(); } py_res = PyObject_CallFunction(py_callable, "(O)", py_trace_ptr);