thanks for mention this. the getbrush etc function do create a copy of the investigated object (brush, texture), so if you se this converter reentrantly (unlike it works now) you need to - as masterbeaker sais - free them after usage.
I hope this will be in the next docs.
I hope this will be in the next docs.