mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
db-ctl-base: Fix resource deallocation on error path in cmd_find().
Release resources now that we are returning to the caller on error. Signed-off-by: Jakub Sitnicki <jkbs@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
committed by
Ben Pfaff
parent
93e6bda51a
commit
d4f720a060
@@ -1285,6 +1285,7 @@ cmd_find(struct ctl_context *ctx)
|
||||
ctx->error = check_condition(table, row, ctx->argv[i],
|
||||
ctx->symtab, &satisfied);
|
||||
if (ctx->error) {
|
||||
free(columns);
|
||||
return;
|
||||
}
|
||||
if (!satisfied) {
|
||||
|
Reference in New Issue
Block a user