[vlc-commits] input/input: fix resource release

Filip Roséen git at videolan.org
Tue Dec 6 15:58:28 CET 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Sun Dec  4 12:20:23 2016 +0100| [4c12b431dcd50a160acf963e369ff08845567d87] | committer: Thomas Guillem

input/input: fix resource release

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

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

diff --git a/src/input/input.c b/src/input/input.c
index 68a5035..a78cd10 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2347,7 +2347,7 @@ static input_source_t *InputSourceNew( input_thread_t *p_input,
 
     if( psz_dup == NULL )
     {
-        free( in );
+        vlc_object_release( in );
         return NULL;
     }
 



More information about the vlc-commits mailing list