Commit cdeb9a56 authored by Philip Van Hoof's avatar Philip Van Hoof

tracker-extract: Fix critical about locale in case of standalone mode

parent e462e797
......@@ -269,6 +269,7 @@ run_standalone (void)
verbosity = 3;
}
tracker_locale_init ();
tracker_albumart_init ();
/* This makes sure we don't steal all the system's resources */
......@@ -282,7 +283,10 @@ run_standalone (void)
force_module);
if (!object) {
g_object_unref (file);
g_free (uri);
tracker_albumart_shutdown ();
tracker_locale_shutdown ();
return EXIT_FAILURE;
}
......@@ -295,6 +299,7 @@ run_standalone (void)
g_free (uri);
tracker_albumart_shutdown ();
tracker_locale_shutdown ();
return EXIT_SUCCESS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment