Commit 06430f7c authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Felix Paul Kühne

Fix memory leak in video_output on Mac OS X (close #6267)

huge numbers of memory leaks happens because subpictures are not deleted.
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent b64eec00
......@@ -302,7 +302,8 @@ static void PictureDisplay(vout_display_t *vd, picture_t *pic, subpicture_t *sub
picture_Release (pic);
sys->has_first_frame = true;
(void)subpicture;
if (subpicture)
subpicture_Delete(subpicture);
}
static int Control (vout_display_t *vd, int query, va_list ap)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment