]> granicus.if.org Git - python/commitdiff
merge 3.3 (#17968)
authorBenjamin Peterson <benjamin@python.org>
Tue, 14 May 2013 00:56:35 +0000 (19:56 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 14 May 2013 00:56:35 +0000 (19:56 -0500)
1  2 
Modules/posixmodule.c

index 8e84392d5ca85e1a4d6b745304bc0cbc7d427317,a351caeddc7771ddee58689c388a2b8e4b4bbf09..bf571380065e4263c897a176ad29c0ac20002999
@@@ -10121,9 -10627,10 +10121,10 @@@ posix_listxattr(PyObject *self, PyObjec
          if (length < 0) {
              if (errno == ERANGE) {
                  PyMem_FREE(buffer);
+                 buffer = NULL;
                  continue;
              }
 -            path_error("listxattr", &path);
 +            path_error(&path);
              break;
          }