Commit e857b29f authored by Benjamin Peterson's avatar Benjamin Peterson

plug refleak

parent 54ad0bea
......@@ -3109,6 +3109,7 @@ socket_gethostname(PyObject *self, PyObject *unused)
PyUnicode_AS_UNICODE(result),
size+1))
return result;
Py_DECREF(result);
}
return PyErr_SetExcFromWindowsErr(PyExc_WindowsError, GetLastError());
}
......
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