diff --git a/modules/sanity/sanity.c b/modules/sanity/sanity.c index 8140c07b293..581219001b4 100644 --- a/modules/sanity/sanity.c +++ b/modules/sanity/sanity.c @@ -724,6 +724,7 @@ int check_proxy_require(struct sip_msg* _msg) { * freed when the message freed. Lets hope nobody needs to access * this header again later on */ free_str_list(_msg->proxy_require->parsed); + _msg->proxy_require->parsed = NULL; } } #ifdef EXTRA_DEBUG