Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
wenet_onnxruntime
Commits
6494f405
Commit
6494f405
authored
Apr 18, 2025
by
wufan3
Browse files
fix BUG[90648]: core dump because of do not close FILE pointer
parent
8b602ea6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Src/bin/decoder_main.cc
Src/bin/decoder_main.cc
+3
-0
No files found.
Src/bin/decoder_main.cc
View file @
6494f405
...
@@ -173,5 +173,8 @@ int main(int argc, char* argv[]) {
...
@@ -173,5 +173,8 @@ int main(int argc, char* argv[]) {
<<
g_total_decode_time
<<
"ms."
;
<<
g_total_decode_time
<<
"ms."
;
LOG
(
INFO
)
<<
"RTF: "
<<
std
::
setprecision
(
4
)
LOG
(
INFO
)
<<
"RTF: "
<<
std
::
setprecision
(
4
)
<<
static_cast
<
float
>
(
g_total_decode_time
)
/
g_total_waves_dur
;
<<
static_cast
<
float
>
(
g_total_decode_time
)
/
g_total_waves_dur
;
if
(
!
FLAGS_result
.
empty
())
{
g_result
.
close
();
}
return
0
;
return
0
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment