Merge "Fix double close in GetTreeBytes." am: 142702dc82 am: 45175c437f
am: 26f604eb5a

Change-Id: I3a250a6cb64c838186fb1912191df4960e00a73f
diff --git a/Utils.cpp b/Utils.cpp
index 98e8a9b..002af03 100644
--- a/Utils.cpp
+++ b/Utils.cpp
@@ -545,9 +545,7 @@
         PLOG(WARNING) << "Failed to open " << path;
         return -1;
     } else {
-        uint64_t res = calculate_dir_size(dirfd);
-        close(dirfd);
-        return res;
+        return calculate_dir_size(dirfd);
     }
 }