Module: kamailio
Branch: master
Commit: 59079f19dc48e8f7399518725a5bcd515400d89d
URL: 
https://github.com/kamailio/kamailio/commit/59079f19dc48e8f7399518725a5bcd515400d89d

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date: 2025-12-09T13:50:40+01:00

dialplan: remove destroy of internal structures on shutdown

---

Modified: src/modules/dialplan/dialplan.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/59079f19dc48e8f7399518725a5bcd515400d89d.diff
Patch: 
https://github.com/kamailio/kamailio/commit/59079f19dc48e8f7399518725a5bcd515400d89d.patch

---

diff --git a/src/modules/dialplan/dialplan.c b/src/modules/dialplan/dialplan.c
index ab70c0ca589..81a0434017b 100644
--- a/src/modules/dialplan/dialplan.c
+++ b/src/modules/dialplan/dialplan.c
@@ -218,16 +218,6 @@ static int child_init(int rank)
 
 static void mod_destroy(void)
 {
-       /*destroy shared memory*/
-       if(dp_default_par2) {
-               shm_free(dp_default_par2);
-               dp_default_par2 = NULL;
-       }
-       if(dp_rpc_reload_time != NULL) {
-               shm_free(dp_rpc_reload_time);
-               dp_rpc_reload_time = 0;
-       }
-       destroy_data();
 }
 
 

_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to