m5d_free, and m7d_free fix

now work on windowed data correctly