tests/command_test.c : Fix valgrind warning.

This commit is contained in:
Erik de Castro Lopo 2008-05-21 15:58:51 +10:00
parent d227c574a9
commit f12da21e24

View File

@ -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 ;