diff options
Diffstat (limited to 'runtime/oat_file.cc')
| -rw-r--r-- | runtime/oat_file.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc index d47f1b5611..31eb1ccdc8 100644 --- a/runtime/oat_file.cc +++ b/runtime/oat_file.cc @@ -193,7 +193,7 @@ bool OatFileBase::LoadVdex(const std::string& vdex_filename, bool writable, bool low_4gb, std::string* error_msg) { - vdex_.reset(VdexFile::Open(vdex_filename, writable, low_4gb, error_msg)); + vdex_ = VdexFile::Open(vdex_filename, writable, low_4gb, error_msg); if (vdex_.get() == nullptr) { *error_msg = StringPrintf("Failed to load vdex file '%s' %s", vdex_filename.c_str(), |