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); +}