We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6391f2c commit ff50e30Copy full SHA for ff50e30
1 file changed
src/_imagingft.c
@@ -275,6 +275,7 @@ text_layout_raqm(
275
if (!text || !size) {
276
/* return 0 and clean up, no glyphs==no size,
277
and raqm fails with empty strings */
278
+ PyMem_Free(text);
279
goto failed;
280
}
281
set_text = raqm_set_text(rq, text, size);
0 commit comments