[vlc-commits] input: close input with input_Close()

Rémi Denis-Courmont git at videolan.org
Wed Mar 6 21:57:34 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Mar  6 19:32:52 2019 +0200| [ef0e84b5f6e41f36d8cb4c6c12c1b261d7908595] | committer: Rémi Denis-Courmont

input: close input with input_Close()

vlc_object_release() does not release everything.

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

 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 5500054cc5..eae7b6a139 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -154,7 +154,7 @@ int input_Read( vlc_object_t *p_parent, input_item_t *p_item,
         End( p_input );
     }
 
-    vlc_object_release( p_input );
+    input_Close(p_input);
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list