summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-checksum.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-04 17:58:26 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 21:50:17 -0400
commit7a62d64968160d27cbd90aeeed754eb185135f91 (patch)
treeb6bc24af82d7ac03f42ec58f15507caa8cca869f /src/ostree/ot-builtin-checksum.c
parent4f33515316a374867e093171f219cbd6e5e4f5bd (diff)
downloadostree-7a62d64968160d27cbd90aeeed754eb185135f91.tar.gz
Use g_autofree instead of gs_free
Diffstat (limited to 'src/ostree/ot-builtin-checksum.c')
-rw-r--r--src/ostree/ot-builtin-checksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ostree/ot-builtin-checksum.c b/src/ostree/ot-builtin-checksum.c
index 5c534f84..9381bf79 100644
--- a/src/ostree/ot-builtin-checksum.c
+++ b/src/ostree/ot-builtin-checksum.c
@@ -43,8 +43,8 @@ on_checksum_received (GObject *obj,
GAsyncResult *result,
gpointer user_data)
{
- gs_free guchar *csum = NULL;
- gs_free char *checksum = NULL;
+ g_autofree guchar *csum = NULL;
+ g_autofree char *checksum = NULL;
AsyncChecksumData *data = user_data;
if (ostree_checksum_file_async_finish ((GFile*)obj, result, &csum, data->error))