[PATCH 2/5] Update cleanup routines to handle multiple memory backing paths instead of just one.