mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 01:49:53 +00:00
sndfile-loopify: Fix memory leak
This commit is contained in:
parent
c284c0508a
commit
b2998c9fc6
@ -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 ;
|
||||
} ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user