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
@@ -129,7 +129,7 @@ _ostree_bootloader_uboot_write_config (OstreeBootloader *bootloader,
|
||||
|
||||
new_config_contents = _ostree_sysroot_join_lines (new_lines);
|
||||
{
|
||||
gs_unref_bytes GBytes *new_config_contents_bytes =
|
||||
g_autoptr(GBytes) new_config_contents_bytes =
|
||||
g_bytes_new_static (new_config_contents,
|
||||
strlen (new_config_contents));
|
||||
|
||||
|
||||
Reference in new issue
Block a user