Memory leak occured in case specified key was not found in table record. Signed-off-by: Damijan Skvarc <damjan.skv...@gmail.com> --- lib/db-ctl-base.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/db-ctl-base.c b/lib/db-ctl-base.c index fc09293..3bd9f00 100644 --- a/lib/db-ctl-base.c +++ b/lib/db-ctl-base.c @@ -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 { -- 2.7.4 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev