Skip to content

Commit b1ae973

Browse files
Initialize *suffix_enc to NULL
1 parent 5b974f0 commit b1ae973

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/topology_hiding/th_no_dlg_logic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ static int th_binary_encode_record_route(rr_t *record_route, rr_t **out_rr, int
950950

951951
static char* build_encoded_thinfo_suffix(struct sip_msg* msg, str rr_set, int *suffix_len, uint16_t flags, int socket_only) {
952952
uint16_t enc_len = 0;
953-
char *suffix_enc, *s;
953+
char *suffix_enc = NULL, *s;
954954
rr_t *next = NULL, *head = NULL;
955955
int i, x, params_len = 0;
956956
struct sip_uri ctu = { 0 };

0 commit comments

Comments
 (0)