aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/reg-proxy/sip.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/reg-proxy/sip.c')
-rw-r--r--openbsc/src/reg-proxy/sip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/openbsc/src/reg-proxy/sip.c b/openbsc/src/reg-proxy/sip.c
index a33e14157..023f2e37c 100644
--- a/openbsc/src/reg-proxy/sip.c
+++ b/openbsc/src/reg-proxy/sip.c
@@ -123,7 +123,6 @@ int tx_sip_register(struct sip_client *sip_client, osip_t *osip, char *imsi)
sprintf(call_id_num, "%u", osip_build_random_number());
osip_call_id_set_number(call_id, call_id_num);
reg_msg->call_id = call_id;
- osip_free(call_id_num);
if (osip_cseq_init(&cseq)) {
OSIP_TRACE(osip_trace(__FILE__,__LINE__,OSIP_BUG,NULL,"seq init failed!\n"));
@@ -136,7 +135,6 @@ int tx_sip_register(struct sip_client *sip_client, osip_t *osip, char *imsi)
osip_cseq_set_number(cseq, seq_num_str);
osip_cseq_set_method(cseq, osip_strdup("REGISTER"));
reg_msg->cseq = cseq;
- osip_free(seq_num_str);
osip_message_set_max_forwards(reg_msg, "70");