diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2005-07-18 01:46:02 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2005-07-18 01:46:02 +0000 |
commit | 96807d26cae2dda5b6e45248dbd586baf9c1f5b7 (patch) | |
tree | 5d8875b94c4185ceda92e8ac944ef8ff5b311dbd | |
parent | 772d325102eb3c08220f0909654dd36b0e1c0cbd (diff) | |
download | xine-lib-96807d26cae2dda5b6e45248dbd586baf9c1f5b7.tar.gz xine-lib-96807d26cae2dda5b6e45248dbd586baf9c1f5b7.tar.bz2 |
fix problem with static plugins reported by Jason Tackaberry
CVS patchset: 7659
CVS date: 2005/07/18 01:46:02
-rw-r--r-- | src/xine-engine/load_plugins.c | 5 |
1 files 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); } } |