The function free-metafile
releases the window system storage used by the metafile.
free-metafile
must be called when the metafile is no longer needed, to avoid memory leaks.
free-metafile
is supported on GTK+ only where Cairo is supported (GTK+ 2.8 and later).
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017