[sr-dev] F_MALLOC and leak detection