Commit 94fa922a authored by Jürg Billeter's avatar Jürg Billeter

tracker-miner-fs: Fix use after free in extractor_process_failsafe

Fixes NB#299221.
parent 28cf45a3
......@@ -2107,7 +2107,6 @@ extractor_process_failsafe (TrackerMinerFiles *miner)
uri = g_file_get_uri (data->file);
g_message ("Performing failsafe extraction on '%s'", uri);
g_free (uri);
get_metadata_fast_async (data->miner->private->connection,
uri,
......@@ -2115,6 +2114,8 @@ extractor_process_failsafe (TrackerMinerFiles *miner)
data->cancellable,
extractor_get_failsafe_metadata_cb,
data);
g_free (uri);
} else {
g_debug ("Failsafe extraction finished. Resuming miner...");
......
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