aboutsummaryrefslogtreecommitdiffstats
path: root/src/update_db.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/update_db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/update_db.c b/src/update_db.c
index c6636de1a..8982a53e2 100644
--- a/src/update_db.c
+++ b/src/update_db.c
@@ -96,9 +96,9 @@ delete_name_in(struct directory *parent, const char *name)
modified = true;
}
- db_unlock();
-
playlist_vector_remove(&parent->playlists, name);
+ db_unlock();
+
return modified;
}