diff options
| author | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:50 -0800 |
| commit | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (patch) | |
| tree | 4e1abd6eca581d5baec48b86e213ae31138bcf5e /lib/wsprd | |
| parent | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (diff) | |
New upstream version 2.7.0~rc3+repackupstream/2.7.0_rc3+repack
Diffstat (limited to 'lib/wsprd')
| -rwxr-xr-x | lib/wsprd/wsprd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/wsprd/wsprd.c b/lib/wsprd/wsprd.c index 0f6e903e..484e4ecb 100755 --- a/lib/wsprd/wsprd.c +++ b/lib/wsprd/wsprd.c @@ -146,6 +146,7 @@ unsigned long readwavfile(char *ptr_to_infile, int ntrmin, float *idat, float *q nr=fread(buf2,2,npoints,fp); //Read raw data
fclose(fp);
if( nr == 0 ) {
+ free(buf2);
fprintf(stderr, "No data in file '%s'\n", ptr_to_infile);
return 1;
}
|
