|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] pygrub: fsimage binding must free objects
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1170179439 0
# Node ID fa8843d22450f354e691118100b38aa8770613c3
# Parent 6d8a099a152d6e606b60d73c3fcffb0e4c7d6371
pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
tools/pygrub/src/fsimage/fsimage.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -r 6d8a099a152d -r fa8843d22450 tools/pygrub/src/fsimage/fsimage.c
--- a/tools/pygrub/src/fsimage/fsimage.c Tue Jan 30 17:39:54 2007 +0000
+++ b/tools/pygrub/src/fsimage/fsimage.c Tue Jan 30 17:50:39 2007 +0000
@@ -125,7 +125,7 @@ fsimage_file_dealloc(fsimage_file_t *fil
if (file->file != NULL)
fsi_close_file(file->file);
Py_XDECREF(file->fs);
- PyMem_DEL(file);
+ PyObject_DEL(file);
}
static char fsimage_file_type__doc__[] = "Filesystem image file";
@@ -226,7 +226,7 @@ fsimage_fs_dealloc (fsimage_fs_t *fs)
{
if (fs->fs != NULL)
fsi_close_fsimage(fs->fs);
- PyMem_DEL(fs);
+ PyObject_DEL(fs);
}
PyDoc_STRVAR(fsimage_fs_type__doc__, "Filesystem image");
_______________________________________________
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] pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.,
Xen patchbot-unstable <=
|
|
|
|
|