Skip to content

Commit

Permalink
pv: remove useless condition
Browse files Browse the repository at this point in the history
(cherry picked from commit 1f50cd2)
  • Loading branch information
miconda committed Aug 30, 2017
1 parent 8e887d2 commit a7912e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/pv/pv_trans.c
Expand Up @@ -2504,11 +2504,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 a7912e3

Please sign in to comment.