[xen-unstable] [Mini-OS] Fix net backend path leak

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[xen-unstable] [Mini-OS] Fix net backend path leak

Xen patchbot-unstable
# HG changeset patch
# User Keir Fraser <[hidden email]>
# Date 1195910907 0
# Node ID eac7ef8ba544989ea40f9beb9f1761ece595c5b3
# Parent  2fd1ead7fdf59ddf999820a76991c51fcc001b95
[Mini-OS] Fix net backend path leak

Free backend path after use.

Signed-off-by: Samuel Thibault <[hidden email]>
---
 extras/mini-os/netfront.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 2fd1ead7fdf5 -r eac7ef8ba544 extras/mini-os/netfront.c
--- a/extras/mini-os/netfront.c Sat Nov 24 13:27:59 2007 +0000
+++ b/extras/mini-os/netfront.c Sat Nov 24 13:28:27 2007 +0000
@@ -383,6 +383,7 @@ void shutdown_netfront(void)
 
     unbind_all_ports();
 
+    free(backend);
 }
 
 

_______________________________________________
Xen-changelog mailing list
[hidden email]
http://lists.xensource.com/xen-changelog