Comment 9 for bug 1475558

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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