[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Free memory returned from xenbus_directory call.



# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID b2f2c08e1222dce282b9483546e49fdff08b59c9
# Parent  8d69cb2d4a8889780930fff0374559839fb6cdfb
Free memory returned from xenbus_directory call.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 8d69cb2d4a88 -r b2f2c08e1222 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Thu Aug 18 
19:07:29 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Thu Aug 18 
19:08:09 2005
@@ -389,6 +389,7 @@
                if (err)
                        break;
        }
+       kfree(dir);
        kfree(nodename);
        return err;
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.