C++: Fix leak of GVariant in ConfigKey::parse_string().

This commit is contained in:
Martin Ling 2014-07-24 18:26:19 +01:00
parent 1797a887d7
commit 7009a3921a
1 changed files with 1 additions and 1 deletions

View File

@ -65,6 +65,6 @@ Glib::VariantBase ConfigKey::parse_string(string value) const
throw Error(SR_ERR_BUG);
}
return Glib::VariantBase(variant, true);
return Glib::VariantBase(variant, false);
}