]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/default_pager/dp_backing_store.c
xnu-201.19.tar.gz
[apple/xnu.git] / osfmk / default_pager / dp_backing_store.c
index effec727ca954115c2b4ea9fdb2c828db116ebe4..34f6010593232840ce48d14ee47666fe6edec533 100644 (file)
@@ -3499,9 +3499,6 @@ vs_cluster_transfer(
                        if (error == KERN_SUCCESS) {
                                error = ps_read_file(ps, upl, (vm_offset_t) 0, actual_offset, 
                                                        size, &residual, 0);
-                               if(error)
-                                       upl_commit(upl, NULL);
-                                       upl_deallocate(upl);
                        }
                                        
 #else