Use g_autoptr(GBytes) instead of gs_unref_bytes
This commit is contained in:
1 parent
3f044267b5
commit
e6556dd223
11 files changed
+30
-30
No files matched your search
@@ -318,7 +318,7 @@ ostree_repo_static_delta_execute_offline (OstreeRepo *self,
|
||||
|
||||
{
|
||||
GMappedFile *mfile = gs_file_map_noatime (part_path, cancellable, error);
|
||||
gs_unref_bytes GBytes *bytes = NULL;
|
||||
g_autoptr(GBytes) bytes = NULL;
|
||||
|
||||
if (!mfile)
|
||||
goto out;
|
||||
|
||||
Reference in new issue
Block a user