forked from Mirrors/freeswitch
FS-8184 #resolve [Fix possible memory leak in mod_conference when hanging up on a video call]
This commit is contained in:
parent
d1049e2280
commit
1b60510130
@ -1160,6 +1160,8 @@ switch_status_t conference_member_del(conference_obj_t *conference, conference_m
|
||||
conference->count--;
|
||||
}
|
||||
|
||||
conference_video_check_flush(member);
|
||||
|
||||
if (conference_utils_member_test_flag(member, MFLAG_ENDCONF)) {
|
||||
if (!--conference->end_count) {
|
||||
//conference_utils_set_flag_locked(conference, CFLAG_DESTRUCT);
|
||||
|
@ -917,6 +917,7 @@ void conference_video_layer_set_banner(conference_member_t *member, mcu_layer_t
|
||||
void conference_video_layer_set_logo(conference_member_t *member, mcu_layer_t *layer, const char *path);
|
||||
void conference_video_detach_video_layer(conference_member_t *member);
|
||||
void conference_video_check_used_layers(mcu_canvas_t *canvas);
|
||||
void conference_video_check_flush(conference_member_t *member);
|
||||
void conference_video_set_canvas_letterbox_bgcolor(mcu_canvas_t *canvas, char *color);
|
||||
void conference_video_set_canvas_bgcolor(mcu_canvas_t *canvas, char *color);
|
||||
void conference_video_scale_and_patch(mcu_layer_t *layer, switch_image_t *ximg, switch_bool_t freeze);
|
||||
|
Loading…
Reference in New Issue
Block a user