Use glnx_unref_object instead of gs_unref_object
For non-GIO object types, at least until autocleanup support for GObject based types becomes more widespread.
This commit is contained in:
1 parent
4ee1acd981
commit
6a5f7b1288
48 files changed
+123
-123
No files matched your search
@@ -493,7 +493,7 @@ ostree_sysroot_upgrader_pull_one_dir (OstreeSysrootUpgrader *self,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gs_unref_object OstreeRepo *repo = NULL;
|
||||
glnx_unref_object OstreeRepo *repo = NULL;
|
||||
char *refs_to_fetch[] = { self->origin_ref, NULL };
|
||||
const char *from_revision = NULL;
|
||||
g_autofree char *new_revision = NULL;
|
||||
@@ -564,7 +564,7 @@ ostree_sysroot_upgrader_deploy (OstreeSysrootUpgrader *self,
|
||||
GError **error)
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gs_unref_object OstreeDeployment *new_deployment = NULL;
|
||||
glnx_unref_object OstreeDeployment *new_deployment = NULL;
|
||||
|
||||
if (!ostree_sysroot_deploy_tree (self->sysroot, self->osname,
|
||||
self->new_revision,
|
||||
|
||||
Reference in new issue
Block a user