| 485 | |
| 486 | |
| 487 | static void mod_destroy(void) |
| 488 | { |
| 489 | /*destroy shared memory*/ |
| 490 | if(default_par2){ |
| 491 | shm_free(default_par2); |
| 492 | default_par2 = NULL; |
| 493 | } |
| 494 | |
| 495 | destroy_data(); |
| 496 | #ifdef PCRE2_LIB |
| 497 | if (dp_ccontext) |
| 498 | { |
| 499 | pcre2_compile_context_free(dp_ccontext); |
| 500 | dp_ccontext = NULL; |
| 501 | } |
| 502 | |
| 503 | if (dp_gcontext) |
| 504 | { |
| 505 | pcre2_general_context_free(dp_gcontext); |
| 506 | dp_gcontext = NULL; |
| 507 | } |
| 508 | #endif |
| 509 | } |
| 510 | |
| 511 | |
| 512 | static int dp_update(struct sip_msg * msg, pv_spec_t * src, pv_spec_t * dest, |
nothing calls this directly
no test coverage detected