Fix minor leaks in mm.c
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Mar 2016 19:21:08 +0000 (15:21 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 31 Mar 2016 20:53:42 +0000 (16:53 -0400)
commita8c190a2a0a2fd89db22c3db5edfe011bcd2e447
tree15aa8f8ccf11fc3cf2ee3b25c6b1cdaa6ce263b8
parent6573cca72f57179266a692d05974a4eecf2c781f
Fix minor leaks in mm.c

If we ever had an error, we'd bail out but forget to decref and free
memory.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/mm.c