mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 04:43:50 +00:00
Unleak reference
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -13330,6 +13330,7 @@ static char *_sip_qualify_peer(int type, int fd, struct mansession *s, const str
|
||||
load_realtime = (argc == 5 && !strcmp(argv[4], "load")) ? TRUE : FALSE;
|
||||
if ((peer = find_peer(argv[3], NULL, load_realtime))) {
|
||||
sip_poke_peer(peer, 1);
|
||||
unref_peer(peer, "qualify: done with peer");
|
||||
} else if (type == 0) {
|
||||
ast_cli(fd, "Peer '%s' not found\n", argv[3]);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user