Browse Source

MT#55283 backport fix for I2ce02e92debce0b

Change-Id: Ib88765ee02b2d83175c41034dc1f3a6895808777
pull/1772/head
Richard Fuchs 2 years ago
parent
commit
83140f60df
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/call_interfaces.c

+ 2
- 2
daemon/call_interfaces.c View File

@ -2105,8 +2105,6 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t
} else { } else {
ilog(LOG_DEBUG, "Not updating Redis due to present no-redis-update flag"); ilog(LOG_DEBUG, "Not updating Redis due to present no-redis-update flag");
} }
obj_put(call);
call = NULL;
gettimeofday(&(from_ml->started), NULL); gettimeofday(&(from_ml->started), NULL);
@ -2117,6 +2115,8 @@ static const char *call_offer_answer_ng(struct ng_buffer *ngbuf, bencode_item_t
errstr = "Ran out of ports"; errstr = "Ran out of ports";
call_destroy(call); call_destroy(call);
} }
obj_put(call);
call = NULL;
if (ret) if (ret)
goto out; goto out;


Loading…
Cancel
Save