Skip to content

Commit

Permalink
datapath-windows: Solved memory leak in OVS datapath
Browse files Browse the repository at this point in the history
When closing opened instances, make sure the user dump state is cleared.

Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis@cloudbasesolutions.com>
Reported-at: openvswitch/ovs-issues#90
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
  • Loading branch information
svinturis authored and blp committed Jul 2, 2015
1 parent 706c0c0 commit 216e1c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datapath-windows/ovsext/Datapath.c
Expand Up @@ -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);
}

Expand Down

0 comments on commit 216e1c1

Please sign in to comment.