mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 19:30:11 +01:00
platform: fix chaining up finalize() in NMPlatform
This also causes leaks with recent glib, which can be found via valgrind. Fixes:c7b3862503('platform: add network namespace support to platform') (cherry picked from commit1a1c22e38c)
This commit is contained in:
parent
2f9f0ec3b0
commit
e80203fe8f
1 changed files with 2 additions and 0 deletions
|
|
@ -8966,6 +8966,8 @@ finalize(GObject *object)
|
|||
g_clear_object(&self->_netns);
|
||||
nm_dedup_multi_index_unref(priv->multi_idx);
|
||||
nmp_cache_free(priv->cache);
|
||||
|
||||
G_OBJECT_CLASS(nm_platform_parent_class)->finalize(object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue