[vlc-commits] MSG:WinGDI: remove no-op
Rémi Denis-Courmont
git at videolan.org
Sun Jul 14 19:26:56 CEST 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 14 20:05:45 2013 +0300| [f9ab512741423b3c882fad4cfe3f98275f1a51bc] | committer: Rémi Denis-Courmont
MSG:WinGDI: remove no-op
free(NULL)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f9ab512741423b3c882fad4cfe3f98275f1a51bc
---
modules/video_output/msw/wingdi.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 7ead2b4..749d5b8 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -298,10 +298,8 @@ static int Init(vout_display_t *vd,
cfg.picture_count = 1;
cfg.picture = &picture;
sys->pool = picture_pool_NewExtended(&cfg);
- } else {
- free(rsc.p_sys);
+ } else
sys->pool = NULL;
- }
UpdateRects(vd, NULL, NULL, true);
More information about the vlc-commits
mailing list