Revert "Freeing frame map"

This reverts commit 112f55164bf69048de326be6947e7e94579dfa3e.

Change-Id: I7634c6cef8810492742d0a5b77b113b0f4459be0