sndfile-loopify: Fix memory leak

This commit is contained in:
evpobr
2021-08-31 13:54:13 +05:00
parent 7b1a32c083
commit 425d93ca85
+1
View File
@@ -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 ;
} ;