From aeaf15c3bee2514e8722f6207301deb3ad65bb07 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 29 Oct 2009 18:52:32 +0200 Subject: [PATCH 1/1] Don't release an object that was not held, fix crash This piece of code (transparent UTF-16 to UTF-8 conversion) is wrong in many ways though. This really does NOT belong here, and should be done in the subsdec plugin instead. This fixes a regression from [0d1f966a0b3581d3e96423ce34f32b4da7725c31] --- src/input/stream.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/input/stream.c b/src/input/stream.c index e97e5862ce..b656822baf 100644 --- a/src/input/stream.c +++ b/src/input/stream.c @@ -1547,7 +1547,6 @@ char *stream_ReadLine( stream_t *s ) { var_Create( p_input, "subsdec-encoding", VLC_VAR_STRING | VLC_VAR_DOINHERIT ); var_SetString( p_input, "subsdec-encoding", "UTF-8" ); - vlc_object_release( p_input ); } } } -- 2.20.1