diff options
Diffstat (limited to 'tools/obj2yaml')
-rw-r--r-- | tools/obj2yaml/obj2yaml.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/obj2yaml/obj2yaml.cpp b/tools/obj2yaml/obj2yaml.cpp index 8d128b3539..d675f59cf4 100644 --- a/tools/obj2yaml/obj2yaml.cpp +++ b/tools/obj2yaml/obj2yaml.cpp @@ -45,7 +45,7 @@ int main(int argc, char *argv[]) { errs() << "Error: '" << ec.message() << "' opening file '" << InputFilename << "'\n"; } else { - ec = coff2yaml(outs(), buf.take()); + ec = coff2yaml(outs(), buf.release()); if (ec) errs() << "Error: " << ec.message() << " dumping COFF file\n"; } |