Use g_autofree instead of gs_free

This commit is contained in:
Matthew Barnes committed 2015-05-06 21:50:17 -04:00
1 parent 4f33515316
commit 7a62d64968
67 files changed
+316 -316

No files matched your search

+2 -2
View File
@@ -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))