projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec6e374
)
pygrub: fsimage binding must free objects with PyObject_DEL, not PyMem_DEL.
author
Keir Fraser
<keir@xensource.com>
Tue, 30 Jan 2007 17:50:39 +0000
(17:50 +0000)
committer
Keir Fraser
<keir@xensource.com>
Tue, 30 Jan 2007 17:50:39 +0000
(17:50 +0000)
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/pygrub/src/fsimage/fsimage.c
patch
|
blob
|
history
diff --git
a/tools/pygrub/src/fsimage/fsimage.c
b/tools/pygrub/src/fsimage/fsimage.c
index ad0182d69165c4ca4de03d272c6e34cff0881706..52a8a4b1acb8122438bc21c8ec800426bd0484ff 100644
(file)
--- a/
tools/pygrub/src/fsimage/fsimage.c
+++ b/
tools/pygrub/src/fsimage/fsimage.c
@@
-125,7
+125,7
@@
fsimage_file_dealloc(fsimage_file_t *file)
if (file->file != NULL)
fsi_close_file(file->file);
Py_XDECREF(file->fs);
- Py
Mem
_DEL(file);
+ Py
Object
_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);
- Py
Mem
_DEL(fs);
+ Py
Object
_DEL(fs);
}
PyDoc_STRVAR(fsimage_fs_type__doc__, "Filesystem image");