- reset domain avps
authorJan Janak <jan@iptel.org>
Sat, 19 Nov 2005 16:57:54 +0000 (16:57 +0000)
committerJan Janak <jan@iptel.org>
Sat, 19 Nov 2005 16:57:54 +0000 (16:57 +0000)
receive.c

index c189f3f..0276c70 100644 (file)
--- a/receive.c
+++ b/receive.c
@@ -229,6 +229,7 @@ end:
 #endif
        /* free possible loaded avps -bogdan */
        reset_user_avps();
+       reset_domain_avps();
        DBG("receive_msg: cleaning up\n");
        free_sip_msg(msg);
        pkg_free(msg);
@@ -240,6 +241,7 @@ error_rpl:
        /* execute post reply-script callbacks */
        exec_post_rpl_cb(msg);
        reset_user_avps();
+       reset_domain_avps();
        goto error02;
 error_req:
        DBG("receive_msg: error:...\n");
@@ -247,6 +249,7 @@ error_req:
        exec_post_req_cb(msg);
        /* free possible loaded avps -bogdan */
        reset_user_avps();
+       reset_domain_avps();
 error02:
        free_sip_msg(msg);
        pkg_free(msg);