Kaydet (Commit) a291c8fe authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Fix reference leak.

üst d1cd4d41
......@@ -1258,6 +1258,7 @@ array_tofile(arrayobject *self, PyObject *f)
Py_DECREF(bytes);
if (res == NULL)
return NULL;
Py_DECREF(res); /* drop write result */
}
done:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment