Browse code

- reset domain avps

Jan Janak authored on 19/11/2005 16:57:54
Showing 1 changed files
... ...
@@ -229,6 +229,7 @@ end:
229 229
 #endif
230 230
 	/* free possible loaded avps -bogdan */
231 231
 	reset_user_avps();
232
+	reset_domain_avps();
232 233
 	DBG("receive_msg: cleaning up\n");
233 234
 	free_sip_msg(msg);
234 235
 	pkg_free(msg);
... ...
@@ -240,6 +241,7 @@ error_rpl:
240 241
 	/* execute post reply-script callbacks */
241 242
 	exec_post_rpl_cb(msg);
242 243
 	reset_user_avps();
244
+	reset_domain_avps();
243 245
 	goto error02;
244 246
 error_req:
245 247
 	DBG("receive_msg: error:...\n");
... ...
@@ -247,6 +249,7 @@ error_req:
247 249
 	exec_post_req_cb(msg);
248 250
 	/* free possible loaded avps -bogdan */
249 251
 	reset_user_avps();
252
+	reset_domain_avps();
250 253
 error02:
251 254
 	free_sip_msg(msg);
252 255
 	pkg_free(msg);