pragma solidity ^0.4.24; contract FreeMemory { function useMemory(uint a) public constant returns(uint) { uint[] memory array_num1 = new uint[](a); uint res = 0; assembly { res := mload(0x40) } return res; } }
0.4.24