Comment 4 for bug 1475558

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

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