Browse code

registrar: clean avp/xavp created at 'usrloc:contact-expired' route_event

Victor Seva authored on 26/06/2019 10:29:22
Showing 1 changed files
... ...
@@ -35,6 +35,7 @@
35 35
 #include "../../core/action.h"
36 36
 #include "../../core/fmsg.h"
37 37
 #include "../../core/kemi.h"
38
+#include "../../core/receive.h"
38 39
 #include "../usrloc/usrloc.h"
39 40
 #include "registrar.h"
40 41
 #include "common.h"
... ...
@@ -751,7 +752,7 @@ void reg_ul_expired_contact(ucontact_t* ptr, int type, void* param)
751 752
 		}
752 753
 	}
753 754
 	set_route_type(backup_rt);
754
-
755
+	ksr_msg_env_reset();
755 756
 	return;
756 757
 error:
757 758
 	regpv_free_profile(rpp);