Update mm.c

Currently segfaults