diff --git a/res/res_pjsip_registrar.c b/res/res_pjsip_registrar.c index 5963066191..2478e4b3c3 100644 --- a/res/res_pjsip_registrar.c +++ b/res/res_pjsip_registrar.c @@ -1017,7 +1017,7 @@ static struct ast_sip_aor *find_registrar_aor(struct pjsip_rx_data *rdata, struc { struct ast_sip_aor *aor = NULL; char *aor_name = NULL; - char *domain_name; + char *domain_name = NULL; char *username = NULL; int i;