tests/core/tags/album: Deinitialize genre after testing

Otherwise valgrind will report that we are leaking memory.
Additionally, only initialize the idle queue for sync idle tasks until
album artwork needs it.

Signed-off-by: Anna Schumaker <Anna@NoWheyCreamery.com>
This commit is contained in:
Anna Schumaker 2016-09-28 16:53:20 -04:00
parent 1d7cfa0e6d
commit eb16d9c6fb
1 changed files with 2 additions and 1 deletions

View File

@ -182,7 +182,7 @@ int main(int argc, char **argv)
{
int ret;
idle_init();
idle_init_sync();
artist_db_init();
genre_db_init();
album_db_init();
@ -196,6 +196,7 @@ int main(int argc, char **argv)
ret = g_test_run();
album_db_deinit();
genre_db_deinit();
artist_db_deinit();
idle_deinit();
return ret;