changeset 997:e64eb333b63f trunk

[svn] Properly nullify the tag pointer or we could be passing a stale one.
author chainsaw
date Mon, 01 May 2006 08:38:43 -0700
parents fb6570909c74
children 8c6949ffd7f8
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Mon May 01 07:46:17 2006 -0700
+++ b/Plugins/Input/mpg123/mpg123.c	Mon May 01 08:38:43 2006 -0700
@@ -529,6 +529,7 @@
 {
     char *ret = NULL;
     taglib_file = taglib_file_new(filename);
+    taglib_tag = NULL;
     if(taglib_file) {
       taglib_tag = taglib_file_tag(taglib_file);
       taglib_ap = taglib_file_audioproperties(taglib_file);