mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user