mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 10:30:13 +01:00
GObject creation cannot normally fail, except for types that implement GInitable and take a GError in their _new() method. Some NM types override constructor() and return NULL in some cases, but these generally only happen in the case of programmer error (eg, failing to set a mandatory property), and so crashing is reasonable (and most likely inevitable anyway). So, remove all NULL checks after calls to g_object_new() and its myriad wrappers. https://bugzilla.gnome.org/show_bug.cgi?id=693678 |
||
|---|---|---|
| .. | ||
| Makefile.am | ||
| nm-dnsmasq-manager.c | ||
| nm-dnsmasq-manager.h | ||