399 void get_info(OSyncEnv *env)
400 {
401 /* Python initialization */
402 struct sigaction old_sigint;
403
404 /* Hack to make python not overwrite SIGINT */
405 sigaction(SIGINT, NULL, &old_sigint); /* Save old handler */
406 Py_Initialize();
407 sigaction(SIGINT, &old_sigint, NULL); /* Restore it */
calling Py_Initialize()
408 PyEval_InitThreads();
409
calling PyEval_InitThreads()
410 OSyncError *error = NULL;
411 PyObject *osync_module = pm_load_opensync(&error);
412 if (!osync_module)
when pm_load_opensync() succeeds
new ref from (unknown) pm_load_opensync allocated at: PyObject *osync_module = pm_load_opensync(&error);
ob_refcnt is now refs: 1 + N where N >= 0
413 return;
taking False path
414
returning
ob_refcnt of '*osync_module' is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
415 scan_for_plugins(env, osync_module);
416 }
417