mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-03 13:36:02 -04:00
installation: Don't return freed memory
flatpak_installation_load_app_overrides was returning freed memory. Oops. Closes: #2239 Approved by: alexlarsson
This commit is contained in:
committed by
Atomic Bot
parent
d6e51ede6d
commit
fd282a1ab8
@@ -1512,7 +1512,7 @@ flatpak_installation_load_app_overrides (FlatpakInstallation *self,
|
||||
GError **error)
|
||||
{
|
||||
g_autoptr(FlatpakDir) dir = NULL;
|
||||
g_autofree char *metadata_contents = NULL;
|
||||
char *metadata_contents;
|
||||
gsize metadata_size;
|
||||
|
||||
dir = flatpak_installation_get_dir (self, error);
|
||||
|
||||
Reference in New Issue
Block a user