| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -177,8 +177,8 @@ static PyObject *PyImage_color_conv(PyImage *self, PyObject *args, PyObject *kwd | |||
| 177 | 177 | free(buff)); | |
| 178 | 178 | ||
| 179 | 179 | PyObject *result = PyByteArray_FromStringAndSize((const char *)buff, size); | |
| 180 | + free(buff); | ||
| 180 | 181 | if (result == NULL) { | |
| 181 | - free(buff); | ||
| 182 | 182 | return NULL; | |
| 183 | 183 | } | |
| 184 | 184 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments