missing call to free after the call to pgf_abstract_name

This commit is contained in:
krangelov committed 2021-09-09 07:20:15 +02:00
1 parent 44ee5718e9
commit 3d4c6031d8
3 files changed
+5 -1

No files matched your search

+1
View File
@@ -1777,6 +1777,7 @@ PGF_getAbstractName(PGFObject *self, void *closure)
}
PyObject *name = PyString_FromStringAndSize(txt->text, txt->size);
free(txt);
return name;
}