ovs: fix memory leak

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

View file

@ -1107,7 +1107,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,