mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-09 16:28:08 +02: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-util.c | ||
| c-list-util.h | ||
| gsystem-local-alloc.h | ||
| nm-c-list.h | ||
| nm-compat.c | ||
| nm-compat.h | ||
| nm-dedup-multi.c | ||
| nm-dedup-multi.h | ||
| nm-enum-utils.c | ||
| nm-enum-utils.h | ||
| nm-glib.h | ||
| nm-hash-utils.c | ||
| nm-hash-utils.h | ||
| nm-jansson.h | ||
| nm-macros-internal.h | ||
| nm-obj.h | ||
| nm-random-utils.c | ||
| nm-random-utils.h | ||
| nm-shared-utils.c | ||
| nm-shared-utils.h | ||
| nm-test-utils.h | ||
| nm-udev-utils.c | ||
| nm-udev-utils.h | ||
| nm-vpn-editor-plugin-call.h | ||
| nm-vpn-plugin-macros.h | ||
| nm-vpn-plugin-utils.c | ||
| nm-vpn-plugin-utils.h | ||
| unaligned.h | ||