vlc | branch: master | Hannes Domani <[email protected]> | Sun Feb 8 12:57:19 2015 +0100| [0cee6c308ae964104b311b66b087fc0c6b9a9fc6] | committer: Jean-Baptiste Kempf
Direct2D: release factory and dll Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0cee6c308ae964104b311b66b087fc0c6b9a9fc6 --- modules/video_output/msw/direct2d.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/video_output/msw/direct2d.c b/modules/video_output/msw/direct2d.c index fb279d4..f612262 100644 --- a/modules/video_output/msw/direct2d.c +++ b/modules/video_output/msw/direct2d.c @@ -177,6 +177,11 @@ static void Close(vlc_object_t *object) CommonClean(vd); + if (vd->sys->d2_factory) + ID2D1Factory_Release(vd->sys->d2_factory); + if (vd->sys->d2_dll) + FreeLibrary(vd->sys->d2_dll); + free(vd->sys); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
