Comment 10 for bug 1475558

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

Reviewed: https://review.opencontrail.org/12800
Committed: http://github.org/Juniper/contrail-vrouter/commit/3749d1985d2d09caa0af8b535969433e35e3c1ea
Submitter: Zuul
Branch: R2.0

commit 3749d1985d2d09caa0af8b535969433e35e3c1ea
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