Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db-ctl-base: Fix memory leak of db commands.
Variable "want_key" in function check_condition and variable "key" in function set_column were not destroyed in exception branch. This patch calls ovsdb_atom_destroy to release resources to avoid memory leak. Fixes: 79c1a00 ("db-ctl-base: Don't die in set_column() on error.") Fixes: e09b3af ("db-ctl-base: Don't die in is_condition_satisfied() on error") Acked-by: Simon Horman <[email protected]> Signed-off-by: Zengyuan Wang <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information