diff options
author | Thomas Graf <tgraf@redhat.com> | 2013-11-01 17:44:52 +0100 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2013-11-01 10:01:45 -0700 |
commit | 9c0639a4637fa963ca8fa1dd87fb248f0a74b671 (patch) | |
tree | 03af4950de040e7da48d1a998898756699485e22 /ovsdb/ovsdb-server.c | |
parent | 732feb9311b72d96ee7ec341f82586804b64fcb8 (diff) | |
download | openvswitch-9c0639a4637fa963ca8fa1dd87fb248f0a74b671.tar.gz |
ovsdb: Do not leak error in ovsdb_server_compact()
Signed-off-by: Thomas Graf <tgraf@redhat.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'ovsdb/ovsdb-server.c')
-rw-r--r-- | ovsdb/ovsdb-server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index ab44b3ab6..f64122eb1 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -983,6 +983,7 @@ ovsdb_server_compact(struct unixctl_conn *conn, int argc, char *s = ovsdb_error_to_string(error); ds_put_format(&reply, "%s\n", s); free(s); + ovsdb_error_destroy(error); } n++; |