update: fix memory leak (cid #1100857)
freetype: fix potential memory leak (cid #1048945)