mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 01:52:05 -05:00
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:
parent
7350eb0892
commit
7281664990
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user