Commit a09a5d7e authored by Mohammed Sadiq's avatar Mohammed Sadiq Committed by Bastien Nocera
Browse files

search: Fix memory leak

g_variant_get_strv() returns newly allocated memory.
This should be freed when no longer required.
parent dce6fe6a
......@@ -406,6 +406,7 @@ switch_settings_mapping_get_generic (GValue *value,
g_free (apps);
g_value_set_boolean (value, !!default_enabled != !!found);
return TRUE;
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