fix bug #1458
git-svn-id: https://svn.musicpd.org/mpd/trunk@5589 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
d93e939557
commit
b1d50567c6
@ -489,9 +489,8 @@ MpdTag *newMpdTag(void)
|
|||||||
|
|
||||||
static void deleteItem(MpdTag * tag, int index)
|
static void deleteItem(MpdTag * tag, int index)
|
||||||
{
|
{
|
||||||
tag->numOfItems--;
|
|
||||||
|
|
||||||
assert(index < tag->numOfItems);
|
assert(index < tag->numOfItems);
|
||||||
|
tag->numOfItems--;
|
||||||
|
|
||||||
removeTagItemString(tag->items[index].type, tag->items[index].value);
|
removeTagItemString(tag->items[index].type, tag->items[index].value);
|
||||||
/* free(tag->items[index].value); */
|
/* free(tag->items[index].value); */
|
||||||
|
Loading…
Reference in New Issue
Block a user