* Clean up after some memory allocations before exit so valgrind is happy.
* Fork off the scanner process instead of doing it in another thread, so if libavformat leaks memory it will be cleaned up once scanning is finished.
This commit is contained in:
@ -220,7 +220,7 @@ _make_composite_tags(struct song_metadata *psong)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#if 0 // already taken care of by scanner.c
|
||||
if(!psong->title)
|
||||
{
|
||||
char *suffix;
|
||||
@ -228,6 +228,7 @@ _make_composite_tags(struct song_metadata *psong)
|
||||
suffix = strrchr(psong->title, '.');
|
||||
if(suffix) *suffix = '\0';
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user