Revert "Freeing frame map"

This reverts commit 46da5e8056af74bde1578df80b6be20c8c02af6c.