Browse Source

Use proper function to remove all branches on D command.

git.mgm/mediaproxy-ng/2.0
Andreas Granig 14 years ago
parent
commit
542a171bb4
1 changed files with 1 additions and 8 deletions
  1. +1
    -8
      daemon/call.c

+ 1
- 8
daemon/call.c View File

@ -1460,14 +1460,7 @@ char *call_delete_udp(const char **out, struct callmaster *m) {
}
} else {
mylog(LOG_INFO, "[%s] Deleting all call branches", c->callid);
/* delete whole list */
while(c) {
mylog(LOG_INFO, "[%s - %s] Deleted call branch",
c->callid, VIA2STR(c->viabranch));
next = c->next;
call_destroy(c);
c = next;
}
call_destroy_all_branches(c);
}


Loading…
Cancel
Save