From 96807d26cae2dda5b6e45248dbd586baf9c1f5b7 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Mon, 18 Jul 2005 01:46:02 +0000 Subject: fix problem with static plugins reported by Jason Tackaberry CVS patchset: 7659 CVS date: 2005/07/18 01:46:02 --- src/xine-engine/load_plugins.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 9cdedc2fd..eceacb799 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.209 2005/07/17 16:52:14 dsalt Exp $ + * $Id: load_plugins.c,v 1.210 2005/07/18 01:46:02 miguelfreitas Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -727,7 +727,8 @@ static void _dispose_plugin_class(plugin_node_t *node) { break; } node->plugin_class = NULL; - dec_file_ref(node->file); + if (node->file) + dec_file_ref(node->file); } } -- cgit v1.2.3