summaryrefslogtreecommitdiff
blob: 5d1d8ffc7c7728304bbade4761f5dc7e03e3e4bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/pyvorbisfile.c.orig	2003-12-19 07:11:02.000000000 +0000
+++ src/pyvorbisfile.c	2005-09-03 20:02:19.000000000 +0100
@@ -190,9 +190,6 @@
     /* If file was opened from a file object, decref it, so it can
        close */
     Py_DECREF(py_self->py_file);
-  } else {
-    /* Otherwise, we opened the file and should close it. */
-    fclose(py_self->c_file);
   }
 
   PyMem_DEL(self);
@@ -260,7 +257,6 @@
   
   retval = ov_open(file, self->ovf, initial, ibytes);
 
-  self->c_file = file;
   if (retval < 0) {
     if (fname != NULL)
       fclose(file);