[sr-dev] git:3.1: mem: safety check for f_malloc to avoind inserting two times free fragments