Skip to content

Commit f775574

Browse files
authored
Merge pull request #2016 from l2dy/pua_dialoginfo
pua_dialoginfo: fix typo in NULL check
2 parents f2bf35a + 64f2710 commit f775574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/pua_dialoginfo/pua_dialoginfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ static int pack_cb_params(struct sip_msg * msg, str* flag_s,
864864
goto error2;
865865

866866
*param2 = build_cb_param(flags, entity_p, peer_p);
867-
if (*param1==NULL) {
867+
if (*param2==NULL) {
868868
shm_free(*param1);
869869
goto error2;
870870
}

0 commit comments

Comments
 (0)