* 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:
@ -46,4 +46,5 @@ struct media_dir_s * media_dirs = NULL;
|
||||
struct album_art_name_s * album_art_names = NULL;
|
||||
struct client_cache_s clients[CLIENT_CACHE_SLOTS];
|
||||
short int scanning = 0;
|
||||
volatile short int quitting = 0;
|
||||
volatile __u32 updateID = 0;
|
||||
|
Reference in New Issue
Block a user