db-ctl-base: fix memory leak in cmd-get() function
Memory leak occured in case specified key was not found in table
record.
@@ -986,6 +986,7 @@ cmd_get(struct ctl_context *ctx)
ctx, "no key \"%s\" in %s record \"%s\" column %s",
key_string, table->name, record_id, column->name);
free(key_string);
+ ovsdb_atom_destroy(&key, column->type.key.type);
return;
}
} else {
