Skip to contentSkip to conversation

Fix memory leak in xend

PATCH New Kouya Shimura 1 participant 1 message Sep 13, 2007 Arm/actions semi architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix memory leak in xend

Fix memory leak in xend.

tools/python/xen/lowlevel/xs/xs.c +1 -0
diff -r a00cc97b392a tools/python/xen/lowlevel/xs/xs.c
@@ -365,6 +365,7 @@ static PyObject *xspy_set_permissions(Xs
         goto exit;
     }
 
+    free(xsperms);
     Py_INCREF(Py_None);
     return Py_None;
 

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