device: fix crash during reapply

Fixes: bf3b3d444c
(cherry picked from commit fe1f5871c8)
(cherry picked from commit 28cf2ecd0d)
This commit is contained in:
Thomas Haller 2018-06-14 10:41:47 +02:00
parent e958209891
commit a8411d11f8

View file

@ -9206,7 +9206,7 @@ check_and_reapply_connection (NMDevice *self,
if (diffs) {
NMConnection *connection_clean = connection;
gs_free NMConnection *connection_clean_free = NULL;
gs_unref_object NMConnection *connection_clean_free = NULL;
{
NMSettingConnection *s_con_a, *s_con_n;