From 3df9647e5751d70509ea3616039ddeb4b5f709cb Mon Sep 17 00:00:00 2001 From: AnthonyA Date: Tue, 27 Feb 2018 07:37:26 +0800 Subject: [PATCH] app_python3: fix missing GIL release in an error path --- src/modules/app_python3/app_python_mod.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/app_python3/app_python_mod.c b/src/modules/app_python3/app_python_mod.c index ada2bab4744..1b7f8808966 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