From 822b56da1165488311e7a5460ed995cf0465b672 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Mon, 21 Feb 2011 15:33:19 -0800 Subject: [PATCH] ovsdb: Fix double free in ovsdb_file_open_log(). Coverity #11066 --- ovsdb/file.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ovsdb/file.c b/ovsdb/file.c index a02b6510..7061d682 100644 --- a/ovsdb/file.c +++ b/ovsdb/file.c @@ -148,7 +148,6 @@ ovsdb_file_open_log(const char *file_name, enum ovsdb_log_open_mode open_mode, if (schemap) { error = ovsdb_schema_from_json(json, &schema); if (error) { - json_destroy(json); error = ovsdb_wrap_error(error, "failed to parse \"%s\" as ovsdb schema", file_name); -- 2.30.2