Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pipeline: fix double free for table stats
[ upstream commit 2d9e10932d535ea553081b489a25f6fce7ec7996 ] The pointer to the table statistics data structure needs to be set to NULL after free inside the table_build_free(), as this function is called from multiple places, leading to double memory free error. Similar fix for the learner_build_free() function. Fixes: 742b0a5 ("pipeline: add table statistics to SWX") Fixes: 4f59d37 ("pipeline: support learner tables") Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
- Loading branch information