[pypy-commit] cffi default: Oups.

arigo noreply at buildbot.pypy.org
Wed Sep 26 09:05:22 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r974:403f68d50b37
Date: 2012-09-26 09:05 +0200
http://bitbucket.org/cffi/cffi/changeset/403f68d50b37/

Log:	Oups.

diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -2698,6 +2698,7 @@
         if (!PyArg_ParseTuple(args, "|Oi:load_library",
                               &dummy, &flags))
             return NULL;
+        filename_or_null = NULL;
     }
     else if (!PyArg_ParseTuple(args, "et|i:load_library",
                           Py_FileSystemDefaultEncoding, &filename_or_null,


More information about the pypy-commit mailing list