Skip to content

Commit 94e94e3

Browse files
committed
Merge branch 'v2.0.x'
2 parents 38782e3 + 9d61a67 commit 94e94e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_image_wrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,8 @@ static PyObject *PyImage_color_conv(PyImage *self, PyObject *args, PyObject *kwd
177177
free(buff));
178178

179179
PyObject *result = PyByteArray_FromStringAndSize((const char *)buff, size);
180+
free(buff);
180181
if (result == NULL) {
181-
free(buff);
182182
return NULL;
183183
}
184184

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy