diff options
| author | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:59 -0800 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2024-01-01 11:39:59 -0800 |
| commit | e90673af26fd12c1685c5528f1b4cfdd433553c6 (patch) | |
| tree | e6f7bc67b3035c74b28c7e90cffe8feff73704a7 /lib/wsprd | |
| parent | 94e13d3187f9ec4e4c7f1fdaf989c80a87b8aae7 (diff) | |
| parent | ffea9660ba79a513401639a2f5d90e2fdc190fb8 (diff) | |
Update upstream source from tag 'upstream/2.7.0_rc3+repack'
Update to upstream version '2.7.0~rc3+repack'
with Debian dir 9101bca1c16d979d1851d72d1d02e5b871ce863d
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;
}
|
