Module: kamailio Branch: master Commit: 3df9647e5751d70509ea3616039ddeb4b5f709cb URL: https://github.com/kamailio/kamailio/commit/3df9647e5751d70509ea3616039ddeb4b5f709cb
Author: AnthonyA <[email protected]> Committer: AnthonyA <[email protected]> Date: 2018-02-27T07:37:26+08:00 app_python3: fix missing GIL release in an error path --- Modified: src/modules/app_python3/app_python_mod.c --- Diff: https://github.com/kamailio/kamailio/commit/3df9647e5751d70509ea3616039ddeb4b5f709cb.diff Patch: https://github.com/kamailio/kamailio/commit/3df9647e5751d70509ea3616039ddeb4b5f709cb.patch --- diff --git a/src/modules/app_python3/app_python_mod.c b/src/modules/app_python3/app_python_mod.c index ada2bab474..1b7f880896 100644 --- a/src/modules/app_python3/app_python_mod.c +++ b/src/modules/app_python3/app_python_mod.c @@ -321,6 +321,7 @@ int apy_reload_script(void) if(apy_init_script(_apy_process_rank)<0) { LM_ERR("failed to init script\n"); + PY_GIL_RELEASE return -1; } PY_GIL_RELEASE _______________________________________________ Kamailio (SER) - Development Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
