Use g_autofree instead of gs_free
This commit is contained in:
1 parent
4f33515316
commit
7a62d64968
67 files changed
+316
-316
No files matched your search
@@ -218,7 +218,7 @@ ostree_mutable_tree_lookup (OstreeMutableTree *self,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
gs_unref_object OstreeMutableTree *ret_subdir = NULL;
|
||||
gs_free char *ret_file_checksum = NULL;
|
||||
g_autofree char *ret_file_checksum = NULL;
|
||||
|
||||
ret_subdir = ot_gobject_refz (g_hash_table_lookup (self->subdirs, name));
|
||||
if (!ret_subdir)
|
||||
|
||||
Reference in new issue
Block a user