device: fix crash during reapply

Fixes: bf3b3d444c
This commit is contained in:
Thomas Haller 2018-06-14 10:41:47 +02:00
parent 9c0db98094
commit fe1f5871c8

View file

@ -10529,7 +10529,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;