diff options
Diffstat (limited to 'community/pyvorbis/pyogg-ticket2-fix.patch')
-rw-r--r-- | community/pyvorbis/pyogg-ticket2-fix.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/community/pyvorbis/pyogg-ticket2-fix.patch b/community/pyvorbis/pyogg-ticket2-fix.patch deleted file mode 100644 index b518b3638..000000000 --- a/community/pyvorbis/pyogg-ticket2-fix.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- src/pyvorbisfile.c 2007-05-14 22:41:05.000000000 +0400 -+++ src/pyvorbisfile.c.new 2007-05-14 22:45:20.000000000 +0400 -@@ -173,9 +173,7 @@ - if (ret == NULL) { - PyObject_Del(newobj); - return NULL; -- } else -- Py_DECREF(ret); -- -+ } - return (PyObject *) newobj; - } - -@@ -191,10 +189,10 @@ - close */ - Py_DECREF(py_self->py_file); - } else { -- /* Otherwise, we opened the file and should close it. */ -- fclose(py_self->c_file); -+ /* Do NOT close the file -- ov_open() takes ownership of the FILE*, -+ and ov_close() is responsible for closing it. */ - } -- -+ free(py_self->ovf); - PyObject_Del(self); - } - |