Commits

Armin Rigo  committed 53e0f12

Minor stuff

  • Participants
  • Parent commits 24d3d0e

Comments (0)

Files changed (1)

File c/_ffi_backend.c

             goto bad_number_of_arguments;
         }
         fvarargs = PyTuple_New(nargs);
+        if (fvarargs == NULL)
+            goto error;
         for (i = 0; i < nargs_declared; i++) {
             PyObject *o = PyTuple_GET_ITEM(signature, 1 + i);
             Py_INCREF(o);
         return NULL;
     fb->fct = fct;
 
-    /* call again fb_build() to really build the ct_name */
+    /* call again fb_build_name() to really build the ct_name */
     fb->bufferp = fct->ct_name;
     if (fb_build_name(fb, fargs, fresult, ellipsis) < 0)
         goto error;
         return NULL;
     }
 
-    /* call again fb_build() to really build the libffi data structures
-       and the ct_name */
+    /* call again fb_build() to really build the libffi data structures */
     funcbuffer.bufferp = buffer;
     if (fb_build(&funcbuffer, fargs, fresult) < 0)
         goto error;