Reviewed: https://review.opencontrail.org/12466 Committed: http://github.org/Juniper/contrail-vrouter/commit/8ee98bf87db8a47d3837b9d289f18b91b6dd9a30 Submitter: Zuul Branch: master
commit 8ee98bf87db8a47d3837b9d289f18b91b6dd9a30 Author: Divakar <email address hidden> Date: Fri Jul 17 02:28:08 2015 -0700
Null check before freeing stats memory
While doing the module cleanup, incase of module init, the stats memory needs to be cleaned up only it is already allocated. Accessing it without validating it is allocated or not, leads to crash. closes-bug: #1475558
Change-Id: Iaf0d67014174506d51bd9a46671e64d463d0db71
Reviewed: https:/ /review. opencontrail. org/12466 github. org/Juniper/ contrail- vrouter/ commit/ 8ee98bf87db8a47 d3837b9d289f18b 91b6dd9a30
Committed: http://
Submitter: Zuul
Branch: master
commit 8ee98bf87db8a47 d3837b9d289f18b 91b6dd9a30
Author: Divakar <email address hidden>
Date: Fri Jul 17 02:28:08 2015 -0700
Null check before freeing stats memory
While doing the module cleanup, incase of module init, the stats
memory needs to be cleaned up only it is already allocated. Accessing it
without validating it is allocated or not, leads to crash.
closes-bug: #1475558
Change-Id: Iaf0d6701417450 6d51bd9a46671e6 4d463d0db71