summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-repo-prune.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-05 11:45:46 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 22:07:10 -0400
commitc2c322efa93ed4acc7a7e95248b48627f10bfcfc (patch)
treec64c47ba4a3584ecbf98a864e40cb25d180a2e46 /src/libostree/ostree-repo-prune.c
parentbb231fdf74ff81a39f82c0ccda058b2779e18e99 (diff)
downloadostree-c2c322efa93ed4acc7a7e95248b48627f10bfcfc.tar.gz
Use g_autoptr(GVariant) instead of gs_unref_variant
Diffstat (limited to 'src/libostree/ostree-repo-prune.c')
-rw-r--r--src/libostree/ostree-repo-prune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libostree/ostree-repo-prune.c b/src/libostree/ostree-repo-prune.c
index d9d0b52f..86949f30 100644
--- a/src/libostree/ostree-repo-prune.c
+++ b/src/libostree/ostree-repo-prune.c
@@ -68,7 +68,7 @@ maybe_prune_loose_object (OtPruneData *data,
GError **error)
{
gboolean ret = FALSE;
- gs_unref_variant GVariant *key = NULL;
+ g_autoptr(GVariant) key = NULL;
key = ostree_object_name_serialize (checksum, objtype);