Skip to content

Commit

Permalink
pua_dialoginfo: fix typo in NULL check
Browse files Browse the repository at this point in the history
  • Loading branch information
l2dy committed Mar 12, 2020
1 parent 2d604cd commit 64f2710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/pua_dialoginfo/pua_dialoginfo.c
Expand Up @@ -864,7 +864,7 @@ static int pack_cb_params(struct sip_msg * msg, str* flag_s,
goto error2;

*param2 = build_cb_param(flags, entity_p, peer_p);
if (*param1==NULL) {
if (*param2==NULL) {
shm_free(*param1);
goto error2;
}
Expand Down

0 comments on commit 64f2710

Please sign in to comment.