mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-23 04:14:47 +00:00
Merge pull request #2025 from signalwire/coverity_06042023_mod_av
[mod_av] Coverity CID 1500320 (Resource leak)
This commit is contained in:
commit
814348c739
@ -1591,6 +1591,8 @@ GCC_DIAG_ON(deprecated-declarations)
|
|||||||
context->vid_ready = 1;
|
context->vid_ready = 1;
|
||||||
switch_queue_push(context->eh.video_queue, img);
|
switch_queue_push(context->eh.video_queue, img);
|
||||||
context->last_vid_push = switch_time_now();
|
context->last_vid_push = switch_time_now();
|
||||||
|
} else {
|
||||||
|
switch_img_free(&img);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user