diff --git a/util/env_hdfs.cc b/util/env_hdfs.cc index ba052a5f4431d7ccba369b6933d77eb3f3b33a26..fdb286f9cc1780c9d0b774fb821576fa2d9ea775 100644 --- a/util/env_hdfs.cc +++ b/util/env_hdfs.cc @@ -596,8 +596,8 @@ Status HdfsEnv::NewLogger(const std::string& fname, // The factory method for creating an HDFS Env Status NewHdfsEnv(Env** hdfs_env, const std::string& fsname) { - *hdfs_env = new HdfsEnv(fsname); - return Status::OK(); + *hdfs_env = new HdfsEnv(fsname); + return Status::OK(); } } // namespace rocksdb