mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 09:50:09 +01:00
Also, assign *_pp before unref-ing the old value. Calling g_object_unref() on the old value, might invoke callbacks that are out of control of nm_g_object_ref_set(). During that time, the pointer should already be assigned the new value, instead of having an intermediate %NULL value. In most cases, this would of course not matter, but there is no need to let anyone see an intermediate %NULL value for a moment. Also, don't use typeof(**_pp), which would not work with opaque types (like we commonly have). |
||
|---|---|---|
| .. | ||
| c-list | ||
| c-siphash | ||
| n-acd | ||
| nm-utils | ||
| meson.build | ||
| nm-common-macros.h | ||
| nm-dbus-compat.h | ||
| nm-default.h | ||
| nm-dispatcher-api.h | ||
| nm-meta-setting.c | ||
| nm-meta-setting.h | ||
| nm-test-libnm-utils.h | ||
| nm-test-utils-impl.c | ||
| nm-version-macros.h.in | ||