Skip to content

Commit

Permalink
pv: remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed Jul 27, 2017
1 parent 2d68418 commit 1f50cd2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/pv/pv_trans.c
Expand Up @@ -2534,11 +2534,10 @@ char* tr_parse_uri(str* in, trans_t *t)
LM_ERR("unknown transformation: %.*s/%.*s!\n", in->len,
in->s, name.len, name.s);
error:
if(tp)
tr_param_free(tp);
if(spec)
pv_spec_free(spec);
return NULL;

done:
t->name = name;
return p;
Expand Down

0 comments on commit 1f50cd2

Please sign in to comment.