Browse code

- fixed free(new_uri) [ it should have been pkg_free ]; this fixes the bug reported by Michael Haberler

Andrei Pelinescu-Onciul authored on 19/03/2003 12:58:46
Showing 1 changed files
... ...
@@ -548,7 +548,7 @@ int do_action(struct action* a, struct sip_msg* msg)
548 548
 	
549 549
 error_uri:
550 550
 	LOG(L_ERR, "ERROR: do_action: set*: uri too long\n");
551
-	if (new_uri) free(new_uri);
551
+	if (new_uri) pkg_free(new_uri);
552 552
 	return E_UNSPEC;
553 553
 error_fwd_uri:
554 554
 	/*free_uri(&uri); -- not needed anymore, using msg->parsed_uri*/