fix wrong memory deallocation when chrooting apps