Module: kamailio
Branch: master
Commit: 43751e7b0071135d433258cc0423cc00546a31e6
URL:
https://github.com/kamailio/kamailio/commit/43751e7b0071135d433258cc0423cc0…
Author: Henning Westerholt <hw(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-03-22T12:52:09Z
app_sqlang: restore some details related to one memory error log
---
Modified: src/modules/app_sqlang/app_sqlang_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/43751e7b0071135d433258cc0423cc0…
Patch:
https://github.com/kamailio/kamailio/commit/43751e7b0071135d433258cc0423cc0…
---
diff --git a/src/modules/app_sqlang/app_sqlang_api.c
b/src/modules/app_sqlang/app_sqlang_api.c
index fd2a81f759b..d0df44cb63d 100644
--- a/src/modules/app_sqlang/app_sqlang_api.c
+++ b/src/modules/app_sqlang/app_sqlang_api.c
@@ -583,7 +583,7 @@ int sqlang_sr_init_mod(void)
if(_sr_sqlang_reload_version == NULL) {
_sr_sqlang_reload_version = (int*)shm_malloc(sizeof(int));
if(_sr_sqlang_reload_version == NULL) {
- SHM_MEM_ERROR;
+ SHM_MEM_ERROR_FMT("reload version\n");;
return -1;
}
*_sr_sqlang_reload_version = 0;