diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2007-03-09 14:44:09 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2007-03-09 14:44:09 +0000 |
commit | b1d50567c69d256beebe22c485920da2c484e014 (patch) | |
tree | 34e379de7a3e3023ea47d399ba1b900f1badd4c0 | |
parent | d93e939557d1d79bc0b6234dfb6f672dfd7fe94b (diff) | |
download | mpd-b1d50567c69d256beebe22c485920da2c484e014.tar.gz mpd-b1d50567c69d256beebe22c485920da2c484e014.tar.xz mpd-b1d50567c69d256beebe22c485920da2c484e014.zip |
fix bug #1458
git-svn-id: https://svn.musicpd.org/mpd/trunk@5589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/tag.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -489,9 +489,8 @@ MpdTag *newMpdTag(void) static void deleteItem(MpdTag * tag, int index) { - tag->numOfItems--; - assert(index < tag->numOfItems); + tag->numOfItems--; removeTagItemString(tag->items[index].type, tag->items[index].value); /* free(tag->items[index].value); */ |