mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-19 22:50:35 +03:00
core: Fix a minor memory leak
This commit is contained in:
parent
74485bed35
commit
3c39a5bfa7
@ -110,7 +110,7 @@ ostree_repo_set_property(GObject *object,
|
||||
{
|
||||
case PROP_PATH:
|
||||
/* Canonicalize */
|
||||
priv->repodir = ot_gfile_new_for_path (g_file_get_path (g_value_get_object (value)));
|
||||
priv->repodir = ot_gfile_new_for_path (ot_gfile_get_path_cached (g_value_get_object (value)));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user