... | ... |
@@ -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*/ |