gf_draw_poly_fill - memory leaks

I determine that gf_draw_poly_fill invoke memory leaks, that depend of square fill.
I attach the simple code that show this.
Does anybody have something comment?

Assuming you are correct about the leak, this is something that should be brought to QNX’s attention. I would suggest posting it on the appropriate forum at their site. I hope they are still interested in providing a fix. The next version of QNX will not have gf, but rather it will be replaced by screen.

AFAIK they will be ready to fix it under a Priority Support agreement.