C++: Fix leak of GVariant in ConfigKey::parse_string().
This commit is contained in:
parent
1797a887d7
commit
7009a3921a
|
@ -65,6 +65,6 @@ Glib::VariantBase ConfigKey::parse_string(string value) const
|
||||||
throw Error(SR_ERR_BUG);
|
throw Error(SR_ERR_BUG);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Glib::VariantBase(variant, true);
|
return Glib::VariantBase(variant, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue