mirror of
https://github.com/openharmony/third_party_libsnd.git
synced 2026-07-01 22:24:07 -04:00
sndfile-loopify: Fix memory leak
This commit is contained in:
@@ -99,6 +99,7 @@ main (int argc, char * argv [])
|
||||
/* Open the output file. */
|
||||
if ((outfile = sf_open (outfilename, SFM_WRITE, &out_sfinfo)) == NULL)
|
||||
{ printf ("Not able to open output file %s : %s\n", outfilename, sf_strerror (NULL)) ;
|
||||
sf_close (infile) ;
|
||||
return 1 ;
|
||||
} ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user