libsysprof-analyze: don't leak subvolume mount option

This commit is contained in:
Christian Hergert
2023-06-20 11:19:01 -07:00
parent e05dcdde03
commit ab5c0c2bf7

View File

@ -156,7 +156,7 @@ sysprof_mount_namespace_find_device (SysprofMountNamespace *self,
const char *relative_path)
{
const char *mount_source;
const char *subvolume;
g_autofree char *subvolume = NULL;
g_assert (SYSPROF_IS_MOUNT_NAMESPACE (self));
g_assert (SYSPROF_IS_MOUNT (mount));