1 diff -Nurw src/python-fam-1.1.1/_fam.c src2/python-fam-1.1.1/_fam.c
2 --- src/python-fam-1.1.1/_fam.c 2005-04-10 07:48:45.000000000 +0000
3 +++ src2/python-fam-1.1.1/_fam.c 2008-02-26 09:37:10.000000000 +0000
5 fprintf(stderr, "_fam: deleting connection object.\n");
7 _fam_close(self, NULL);
12 static PyTypeObject _fam_connection_type = {
14 fprintf(stderr, "_fam: deleting request object.\n");
16 _fam_cancel_monitor(self, NULL);
21 static PyTypeObject _fam_request_type = {
23 fe_obj->fc_obj = NULL;
25 Py_XDECREF(fe_obj->attr);
27 + PyObject_Del(fe_obj);
35 - _fam_connection_object *fc_obj = PyObject_NEW(_fam_connection_object, &_fam_connection_type);
36 + _fam_connection_object *fc_obj = PyObject_New(_fam_connection_object, &_fam_connection_type);
41 if (!PyArg_ParseTuple(args, "sO", &filename, &userData))
44 - fr_obj = PyObject_NEW(_fam_request_object, &_fam_request_type);
45 + fr_obj = PyObject_New(_fam_request_object, &_fam_request_type);
50 if (!PyArg_ParseTuple(args, "sO", &filename, &userData))
53 - fr_obj = PyObject_NEW(_fam_request_object, &_fam_request_type);
54 + fr_obj = PyObject_New(_fam_request_object, &_fam_request_type);
62 - fe_obj = PyObject_NEW(_fam_event_object, &_fam_event_type);
63 + fe_obj = PyObject_New(_fam_event_object, &_fam_event_type);
67 Binary files src/python-fam-1.1.1/build/lib.linux-i686-2.5/_fam.so and src2/python-fam-1.1.1/build/lib.linux-i686-2.5/_fam.so differ
68 Binary files src/python-fam-1.1.1/build/temp.linux-i686-2.5/_fam.o and src2/python-fam-1.1.1/build/temp.linux-i686-2.5/_fam.o differ
69 diff -Nurw src/python-fam-1.1.1/test.py src2/python-fam-1.1.1/test.py
70 --- src/python-fam-1.1.1/test.py 2005-04-10 07:48:45.000000000 +0000
71 +++ src2/python-fam-1.1.1/test.py 2008-02-26 09:41:24.000000000 +0000
75 # This file is part of Python FAM.
76 # Copyright (C) 2002 Robert Sander <robert.sander@epigenomics.com>
78 diff -Nurw src/python-fam-1.1.1/test2.py src2/python-fam-1.1.1/test2.py
79 --- src/python-fam-1.1.1/test2.py 2005-04-10 07:48:45.000000000 +0000
80 +++ src2/python-fam-1.1.1/test2.py 2008-02-26 09:41:31.000000000 +0000
84 # This file is part of Python FAM.
85 # Copyright (C) 2002 Robert Sander <robert.sander@epigenomics.com>