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
@@ -233,8 +233,8 @@ ostree_repo_prune (OstreeRepo *self,
const char *dash = strchr (deltaname, '-');
const char *to = NULL;
gboolean have_commit;
gs_free char *from = NULL;
gs_free char *deltadir = NULL;
g_autofree char *from = NULL;
g_autofree char *deltadir = NULL;
if (!dash)
{