diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-05-05 11:44:40 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-06 22:07:10 -0400 |
commit | bb231fdf74ff81a39f82c0ccda058b2779e18e99 (patch) | |
tree | 251e82668c299faaf8087679779ebfb6eb7bdeac /src/ostree/ot-admin-builtin-undeploy.c | |
parent | 196d983af930c665bbb385f59f6480b1032fd6bb (diff) | |
download | ostree-bb231fdf74ff81a39f82c0ccda058b2779e18e99.tar.gz |
Use g_autoptr(GPtrArray) instead of gs_unref_ptrarray
Diffstat (limited to 'src/ostree/ot-admin-builtin-undeploy.c')
-rw-r--r-- | src/ostree/ot-admin-builtin-undeploy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ostree/ot-admin-builtin-undeploy.c b/src/ostree/ot-admin-builtin-undeploy.c index 39ae0733..e048729d 100644 --- a/src/ostree/ot-admin-builtin-undeploy.c +++ b/src/ostree/ot-admin-builtin-undeploy.c @@ -40,7 +40,7 @@ ot_admin_builtin_undeploy (int argc, char **argv, GCancellable *cancellable, GEr glnx_unref_object OstreeSysroot *sysroot = NULL; const char *deploy_index_str; int deploy_index; - gs_unref_ptrarray GPtrArray *current_deployments = NULL; + g_autoptr(GPtrArray) current_deployments = NULL; glnx_unref_object OstreeDeployment *booted_deployment = NULL; glnx_unref_object OstreeDeployment *target_deployment = NULL; |