Index: nm-1.6/libnm/nm-manager.c
===================================================================
--- nm-1.6.orig/libnm/nm-manager.c 2017-04-28 12:34:10.278642076 +0100
+++ nm-1.6/libnm/nm-manager.c 2017-04-28 12:34:10.278642076 +0100
@@ -1,4 +1,5 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -789,7 +790,7 @@ find_active_connection_by_path (NMManage
static void
recheck_pending_activations (NMManager *self)
{
- NMManagerPrivate *priv = NM_MANAGER_GET_PRIVATE (self);
+ NMManagerPrivate *priv;
GSList *iter, *next;
NMActiveConnection *candidate;
const GPtrArray *devices;
@@ -797,6 +798,9 @@ recheck_pending_activations (NMManager *
GDBusObjectManager *object_manager = NULL;
GError *error;
+ g_return_if_fail (NM_IS_MANAGER (self));
+
+ priv = NM_MANAGER_GET_PRIVATE (self);
object_manager = _nm_object_get_dbus_object_manager (NM_OBJECT (self));