vout_directx: fix memleak.
authorRémi Duraffort <ivoire@videolan.org>
Sun, 4 Oct 2009 20:33:03 +0000 (22:33 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Sat, 10 Oct 2009 09:26:48 +0000 (11:26 +0200)
modules/video_output/msw/directx.c

index 96b16b5..289932b 100644 (file)
@@ -1272,6 +1272,7 @@ static int NewPictureVec( vout_thread_t *p_vout, picture_t *p_pic )
                         }
                     }
                 }
+                free( pi_codes );
             }
 
             if( b_result )