Also free the list of locked nodes in drv_mem.