aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 09e7e0968..c8a0dc81e 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -409,4 +409,11 @@ static int sumSavedFilenameMemoryInSong(FILE * fp, Song * song, void * data) {
return 0;
}
+void printSavedMemoryFromFilenames() {
+ int sum = 0;
+ traverseAllIn(stderr, NULL, sumSavedFilenameMemoryInSong,
+ sumSavedFilenameMemoryInDirectory, (void *)&sum);
+
+ DEBUG("saved memory from filenames: %i\n", sum);
+}