• Eric Wong's avatar
    tag: fix segfault on update · 092bdf3d
    Eric Wong authored
    clearMpdTag could be called on a tag that was still in a
    tag_begin_add transaction before tag_end_add is called.  This
    was causing free() to attempt to operate on bulk.items; which is
    un-free()-able.  Now instead we unmark the bulk.busy to avoid
    committing the tags to the heap only to be immediately freed.
    
    Additionally, we need to remember to call tag_end_add() when
    a song is updated before we NULL song->tag to avoid tripping
    an assertion the next time tag_begin_add() is called.
    092bdf3d
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...