mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
chan_ooh323: call ast_rtp_instance_stop on ooh323_destroy
Call ast_rtp_instance_stop on ooh323_destroy to free resources allocated by rtp instance ASTERISK-25299 #close Report by: Alexandr Dranchuk Change-Id: I455096bd7da016b871afe90af86067c2c7c9f33f
This commit is contained in:
@@ -4115,6 +4115,7 @@ int ooh323_destroy(struct ooh323_pvt *p)
|
||||
}
|
||||
|
||||
if (cur->rtp) {
|
||||
ast_rtp_instance_stop(cur->rtp);
|
||||
ast_rtp_instance_destroy(cur->rtp);
|
||||
cur->rtp = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user