Commit 6494f405 authored by wufan3's avatar wufan3
Browse files

fix BUG[90648]: core dump because of do not close FILE pointer

parent 8b602ea6
......@@ -173,5 +173,8 @@ int main(int argc, char* argv[]) {
<< g_total_decode_time << "ms.";
LOG(INFO) << "RTF: " << std::setprecision(4)
<< static_cast<float>(g_total_decode_time) / g_total_waves_dur;
if (!FLAGS_result.empty()) {
g_result.close();
}
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment