Fixed inv.c malloc