tag 469013 patch
thanks
Hi,
Sandro Tosi asked me to forward the attached patch fixing the problem.
Kind regards
T.
--- tools/pygrub/src/fsys/ext2/ext2module.c~ 2006-09-21 21:44:56.000000000 +0200
+++ tools/pygrub/src/fsys/ext2/ext2module.c 2008-03-07 07:33:59.939579793 +0100
@@ -101,7 +101,7 @@
{
if (file->file != NULL)
ext2fs_file_close(file->file);
- PyMem_DEL(file);
+ PyObject_DEL(file);
}
static struct PyMethodDef Ext2FileMethods[] = {
@@ -288,7 +288,7 @@
{
if (fs->fs != NULL)
ext2fs_close(fs->fs);
- PyMem_DEL(fs);
+ PyObject_DEL(fs);
}
static struct PyMethodDef Ext2FsMethods[] = {