core: fix a crash due to GValueArray/GArray freeing mismatch (rh #865009)

This commit is contained in:
Jiří Klimeš 2012-10-11 14:56:37 +02:00
parent d4049c5c0a
commit b95b6c8aa1

View file

@ -200,7 +200,7 @@ dispatcher_done_cb (DBusGProxy *proxy, DBusGProxyCall *call, gpointer user_data)
} else
nm_log_dbg (LOGD_CORE, "Dispatcher result element %d invalid type", i);
g_array_unref ((GArray *) item);
g_value_array_free (item);
}
g_ptr_array_free (results, TRUE);
} else {