Reviewed: https://review.opencontrail.org/12801 Committed: http://github.org/Juniper/contrail-vrouter/commit/0750d4139fa906b0b0dc1fce696f3b6dfaa1ca6f Submitter: Zuul Branch: R2.20
commit 0750d4139fa906b0b0dc1fce696f3b6dfaa1ca6f 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/12801 github. org/Juniper/ contrail- vrouter/ commit/ 0750d4139fa906b 0b0dc1fce696f3b 6dfaa1ca6f
Committed: http://
Submitter: Zuul
Branch: R2.20
commit 0750d4139fa906b 0b0dc1fce696f3b 6dfaa1ca6f
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