Module: kamailio
Branch: master
Commit: f898704e9d4f51f1b8fa65be92ff8cc504dfcd66
URL:
https://github.com/kamailio/kamailio/commit/f898704e9d4f51f1b8fa65be92ff8cc…
Author: Pantelis Kolatsis <pk(a)gilawa.com>
Committer: Henning Westerholt <hw(a)gilawa.com>
Date: 2023-04-21T18:01:01Z
sdpops: convert to memory logging helper
---
Modified: src/modules/sdpops/sdpops_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/f898704e9d4f51f1b8fa65be92ff8cc…
Patch:
https://github.com/kamailio/kamailio/commit/f898704e9d4f51f1b8fa65be92ff8cc…
---
diff --git a/src/modules/sdpops/sdpops_mod.c b/src/modules/sdpops/sdpops_mod.c
index 1d08bd6fb80..71abaf29717 100644
--- a/src/modules/sdpops/sdpops_mod.c
+++ b/src/modules/sdpops/sdpops_mod.c
@@ -1990,7 +1990,7 @@ static int sdp_set_sess_version(sip_msg_t* msg, str*
disabled_old_sess_version,
new_sess_version.s = pkg_malloc((new_sess_version.len * sizeof(char)));
if (new_sess_version.s == NULL)
{
- LM_ERR("Out of pkg memory\n");
+ PKG_MEM_ERROR;
return -1;
}