[vlc-commits] input: Fix memory leak

Hugo Beauzée-Luyssen git at videolan.org
Thu Apr 6 17:49:08 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Apr  6 17:14:28 2017 +0200| [1248a185e5974c5d2305938cbb88b81433c6d56c] | committer: Hugo Beauzée-Luyssen

input: Fix memory leak

CID #1398422

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

 src/input/input.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/input/input.c b/src/input/input.c
index 002962e..1cffe77 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1969,6 +1969,7 @@ static bool Control( input_thread_t *p_input,
                 var_SetAddress( pp_vout[i], "viewpoint", &priv->viewpoint );
                 vlc_object_release( pp_vout[i] );
             }
+            free( pp_vout );
             break;
         }
 



More information about the vlc-commits mailing list