ovs: fix memory leak

(cherry picked from commit 508c7679cf)
(cherry picked from commit ad17cfff24)
(cherry picked from commit 836b9e24a4)
This commit is contained in:
Beniamino Galvani 2019-10-25 10:36:52 +02:00
parent 7a6d6d1b84
commit adc76d28c9

View file

@ -1068,7 +1068,7 @@ ovsdb_got_msg (NMOvsdb *self, json_t *msg)
OvsdbMethodCall *call = NULL;
OvsdbMethodCallback callback;
gpointer user_data;
GError *local = NULL;
gs_free_error GError *local = NULL;
if (json_unpack_ex (msg, &json_error, 0, "{s?:o, s?:s, s?:o, s?:o, s?:o}",
"id", &json_id,