aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/id3v24_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/id3v24_extractor.c')
-rw-r--r--src/plugins/id3v24_extractor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/id3v24_extractor.c b/src/plugins/id3v24_extractor.c
index 239f7de..8c9cb9b 100644
--- a/src/plugins/id3v24_extractor.c
+++ b/src/plugins/id3v24_extractor.c
@@ -364,7 +364,11 @@ EXTRACTOR_id3v24_extract (const unsigned char *data,
364 off++; 364 off++;
365 if ( (off >= csize) || 365 if ( (off >= csize) ||
366 (data[pos+off] != '\0') ) 366 (data[pos+off] != '\0') )
367 return 0; /* malformed */ 367 {
368 if (mime != NULL)
369 free (mime);
370 return 0; /* malformed */
371 }
368 off++; 372 off++;
369 if ( (mime != NULL) && 373 if ( (mime != NULL) &&
370 (0 == strcasecmp ("-->", 374 (0 == strcasecmp ("-->",