mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
tests/command_test.c : Fix valgrind warning.
This commit is contained in:
parent
d227c574a9
commit
f12da21e24
@ -782,6 +782,7 @@ current_sf_info_test (const char *filename)
|
||||
) ;
|
||||
|
||||
/* Read file making sure no channel map exists. */
|
||||
memset (&ininfo, 0, sizeof (ininfo)) ;
|
||||
infile = test_open_file_or_die (filename, SFM_READ, &ininfo, SF_TRUE, __LINE__) ;
|
||||
|
||||
last_count = ininfo.frames ;
|
||||
|
Loading…
Reference in New Issue
Block a user