Browse code

- aligned to avp api

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