fmbtpng: fixed memory leak