From f9431bbe500cec3f9febb05df9c5580fcbc0bdf5 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) (cherry picked from commit adc76d28c97d921cfcc536592194ab92fa1272b5) (cherry picked from commit 0301b55a71648ecef8f90276eb510389c6a9d03c) --- 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 5f317a539e..ba592e7363 100644 --- a/src/devices/ovs/nm-ovsdb.c +++ b/src/devices/ovs/nm-ovsdb.c @@ -1080,7 +1080,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,