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 239
 error_rpl:
241 240
 	/* execute post reply-script callbacks */
242 241
 	exec_post_rpl_cb(msg);
243
-	reset_user_avps();
244
-	reset_domain_avps();
242
+	reset_avps();
245 243
 	goto error02;
246 244
 error_req:
247 245
 	DBG("receive_msg: error:...\n");
248 246
 	/* execute post request-script callbacks */
249 247
 	exec_post_req_cb(msg);
250 248
 	/* free possible loaded avps -bogdan */
251
-	reset_user_avps();
252
-	reset_domain_avps();
249
+	reset_avps();
253 250
 error02:
254 251
 	free_sip_msg(msg);
255 252
 	pkg_free(msg);