Commit a3c34dcf authored by Ivan Frade's avatar Ivan Frade

libtracker-extract: Initialize string as NULL

The pointer is used and shared later without any check. No know bug
about it and tests pass fine before and after.
parent a142f866
......@@ -82,6 +82,8 @@ tracker_extract_info_new (GFile *file,
info->postupdate = tracker_sparql_builder_new_update ();
info->metadata = tracker_sparql_builder_new_embedded_insert ();
info->where_clause = NULL;
info->ref_count = 1;
return info;
......
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