[vlc-devel] commit: vout_directx: fix memleak. ( Rémi Duraffort )

git version control git at videolan.org
Sat Oct 10 11:57:45 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Oct  4 22:33:03 2009 +0200| [45428ac15eccbf20cdeba1dfeeeb982e0a81a2e4] | committer: Rémi Duraffort 

vout_directx: fix memleak.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45428ac15eccbf20cdeba1dfeeeb982e0a81a2e4
---

 modules/video_output/msw/directx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/msw/directx.c b/modules/video_output/msw/directx.c
index 96b16b5..289932b 100644
--- a/modules/video_output/msw/directx.c
+++ b/modules/video_output/msw/directx.c
@@ -1272,6 +1272,7 @@ static int NewPictureVec( vout_thread_t *p_vout, picture_t *p_pic )
                         }
                     }
                 }
+                free( pi_codes );
             }
 
             if( b_result )




More information about the vlc-devel mailing list