From adc76d28c97d921cfcc536592194ab92fa1272b5 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 25 Oct 2019 10:36:52 +0200 Subject: [PATCH] ovs: fix memory leak (cherry picked from commit 508c7679cfb06f9d5149e637737d28a958f9131c) (cherry picked from commit ad17cfff249e7edde0011dc80f09f496ba2fe020) (cherry picked from commit 836b9e24a475fa9ef5b86d9ca34c751336da4b52) --- src/devices/ovs/nm-ovsdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/ovs/nm-ovsdb.c b/src/devices/ovs/nm-ovsdb.c index 9d73c3ac71..a9391f5713 100644 --- a/src/devices/ovs/nm-ovsdb.c +++ b/src/devices/ovs/nm-ovsdb.c @@ -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,