|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix two memory leaks in xend.
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1189782273 -3600
# Node ID c36292e83f07539ad4973accf499554d4a34647a
# Parent b032af6ad976a6fc3eb3ad0854864fe3458c92f3
Fix two memory leaks in xend.
Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
---
tools/python/xen/lowlevel/xc/xc.c | 1 +
tools/python/xen/lowlevel/xs/xs.c | 1 +
2 files changed, 2 insertions(+)
diff -r b032af6ad976 -r c36292e83f07 tools/python/xen/lowlevel/xc/xc.c
--- a/tools/python/xen/lowlevel/xc/xc.c Fri Sep 14 14:36:54 2007 +0100
+++ b/tools/python/xen/lowlevel/xc/xc.c Fri Sep 14 16:04:33 2007 +0100
@@ -346,6 +346,7 @@ static PyObject *pyxc_domain_getinfo(XcO
Py_DECREF(list);
if ( pyhandle != NULL ) { Py_DECREF(pyhandle); }
if ( info_dict != NULL ) { Py_DECREF(info_dict); }
+ free(info);
return NULL;
}
for ( j = 0; j < sizeof(xen_domain_handle_t); j++ )
diff -r b032af6ad976 -r c36292e83f07 tools/python/xen/lowlevel/xs/xs.c
--- a/tools/python/xen/lowlevel/xs/xs.c Fri Sep 14 14:36:54 2007 +0100
+++ b/tools/python/xen/lowlevel/xs/xs.c Fri Sep 14 16:04:33 2007 +0100
@@ -365,6 +365,7 @@ static PyObject *xspy_set_permissions(Xs
goto exit;
}
+ free(xsperms);
Py_INCREF(Py_None);
return Py_None;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix two memory leaks in xend.,
Xen patchbot-unstable <=
|
Previous by Date: |
[Xen-changelog] [xen-unstable] Let Xen cmdline boolean options be specified as "=0", "=1", "=false", "=true"., Xen patchbot-unstable |
Next by Date: |
[Xen-changelog] [xen-unstable] [XEN] add typed p2m entry-setting function, Xen patchbot-unstable |
Previous by Thread: |
[Xen-changelog] [xen-unstable] Let Xen cmdline boolean options be specified as "=0", "=1", "=false", "=true"., Xen patchbot-unstable |
Next by Thread: |
[Xen-changelog] [xen-unstable] [XEN] add typed p2m entry-setting function, Xen patchbot-unstable |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|
|
|