[sr-dev] git:master:0859d223: core: set q_malloc as default memory manager

Daniel-Constantin Mierla miconda at gmail.com
Wed May 4 20:08:21 CEST 2016


Module: kamailio
Branch: master
Commit: 0859d22351159acdce5569c4f1acc84a3547efbd
URL: https://github.com/kamailio/kamailio/commit/0859d22351159acdce5569c4f1acc84a3547efbd

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-05-04T20:07:35+02:00

core: set q_malloc as default memory manager

- useful to catch easier memory issues in development phase

---

Modified: main.c

---

Diff:  https://github.com/kamailio/kamailio/commit/0859d22351159acdce5569c4f1acc84a3547efbd.diff
Patch: https://github.com/kamailio/kamailio/commit/0859d22351159acdce5569c4f1acc84a3547efbd.patch

---

diff --git a/main.c b/main.c
index 8c044ff..fc69b56 100644
--- a/main.c
+++ b/main.c
@@ -503,7 +503,7 @@ char* pgid_file = 0;
 
 
 /* memory manager */
-#define SR_MEMMNG_DEFAULT	"fm"
+#define SR_MEMMNG_DEFAULT	"qm"
 
 char *sr_memmng_pkg = NULL;
 char *sr_memmng_shm = NULL;




More information about the sr-dev mailing list