Fix file handle leak, thanks to Mike W9MDB for the patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7038 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2016-08-29 17:01:31 +00:00
parent 7350eb0892
commit 7281664990

View File

@ -86,6 +86,7 @@ unsigned long readc2file(char *ptr_to_infile, float *idat, float *qdat,
nread=fread(&dfreq,sizeof(double),1,fp);
*freq=dfreq;
nread=fread(buffer,sizeof(float),2*45000,fp);
fclose(fp);
*wspr_type=ntrmin;