Commit 6692f27f authored by Sorin Vinturis's avatar Sorin Vinturis Committed by Ben Pfaff

datapath-windows: Solved memory leak in OVS datapath

When closing opened instances, make sure the user dump state is cleared.
Signed-off-by: default avatarSorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: default avatarSorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/90Acked-by: default avatarAlin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: default avatarBen Pfaff <blp@nicira.com>
parent 06d25d3d
......@@ -588,6 +588,7 @@ OvsRemoveOpenInstance(PFILE_OBJECT fileObject)
OvsReleaseCtrlLock();
ASSERT(instance->eventQueue == NULL);
ASSERT (instance->packetQueue == NULL);
FreeUserDumpState(instance);
OvsFreeMemoryWithTag(instance, OVS_DATAPATH_POOL_TAG);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment