sndfile-loopify: Fix memory leak

This commit is contained in:
evpobr 2021-08-31 13:54:13 +05:00
parent c284c0508a
commit b2998c9fc6

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