upgrader: Hold a ref to the origin
We unref it in _finalize, so we need to hold a ref. I *thought* this was the source of https://github.com/projectatomic/rpm-ostree/issues/30 But apparently not =/
This commit is contained in:
parent
cc180f5d38
commit
1b8759a67e
|
|
@ -142,6 +142,7 @@ ostree_sysroot_upgrader_initable_init (GInitable *initable,
|
||||||
ostree_deployment_get_deployserial (self->merge_deployment));
|
ostree_deployment_get_deployserial (self->merge_deployment));
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
g_key_file_ref (self->origin);
|
||||||
|
|
||||||
if (!parse_refspec (self, cancellable, error))
|
if (!parse_refspec (self, cancellable, error))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue