aboutsummaryrefslogtreecommitdiffstats
path: root/build.mk
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:41:02 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:41:02 +0200
commit2bb7bcc7b6a12abd47c9cf56255045f5e78dba84 (patch)
treec60b826e2989177e604de883753d71c3eca4fb41 /build.mk
parent96c681e2db9f8f707f80061360c9b6b680fe72e3 (diff)
downloadmpd-2bb7bcc7b6a12abd47c9cf56255045f5e78dba84.tar.gz
mpd-2bb7bcc7b6a12abd47c9cf56255045f5e78dba84.tar.xz
mpd-2bb7bcc7b6a12abd47c9cf56255045f5e78dba84.zip
update: locked delete after update error
When a directory failed to update, it was removed from the database, without freeing all children and songs (memory leak), and without locking (race condition). Introduce the functions clear_directory() and delete_directory(), which do both.
Diffstat (limited to 'build.mk')
0 files changed, 0 insertions, 0 deletions