ovs_stats: fix memory leak
authorMark Kavanagh <mark.b.kavanagh@intel.com>
Thu, 22 Feb 2018 11:55:44 +0000 (11:55 +0000)
committerCiara Loftus <ciara.loftus@intel.com>
Tue, 27 Mar 2018 09:47:14 +0000 (10:47 +0100)
commit2709cad046fabc6b6d3ff198dd39d188040f991c
treee76a88ffea65ffaa3853399ad5f132ef39c26322
parent39d06e521542649ceda75de781d5f83579df255f
ovs_stats: fix memory leak

In ovs_stats_plugin_config(), memory may be allocated from the heap,
but is not subsequently freed in the case of failure later in the
function.

Fixes: bcf9c48 ("ovs_stats plugin: Fix a memory leak.")
Signed-off-by: Mark Kavanagh <mark.b.kavanagh@intel.com>
src/ovs_stats.c