mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-17 20:28:18 +02:00
g_variant_new_parsed() returns a floating reference. Later, we pass
the floating reference to nm_settings_connection_new_secrets(),
but don't transfer ownership.
That might not be a bug (I didn't check), but it requires that
nm_settings_connection_new_secrets() does not take a reference
to the secrets variant.
Convert the floating reference to a real reference to avoid
this dangerous pattern.
Fixes:
|
||
|---|---|---|
| .. | ||
| tests | ||
| nm-device-olpc-mesh.c | ||
| nm-device-olpc-mesh.h | ||
| nm-device-wifi.c | ||
| nm-device-wifi.h | ||
| nm-wifi-ap.c | ||
| nm-wifi-ap.h | ||
| nm-wifi-factory.c | ||
| nm-wifi-utils.c | ||
| nm-wifi-utils.h | ||