This website works better with JavaScript.
Home
Explore
Sign In
mahta.fetrat
/
HomoFast-eSpeak-Persian
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Check fread return value in LoadSoundFile(readclause.c) [clang scan-build]
master
Reece H. Dunn
9 years ago
parent
bd52c12c49
commit
5bbab7e0d3
1 changed files
with
6 additions
and
1 deletions
Unified View
Show Diff Stats
6
1
src/libespeak-ng/readclause.c
+ 6
- 1
src/libespeak-ng/readclause.c
View File
fclose(f);
fclose(f);
return 4;
return 4;
}
}
length = fread(p, 1, length, f);
if (fread(p, 1, length, f) != length) {
fclose(f);
remove(fname_temp);
free(p);
return 5;
}
fclose(f);
fclose(f);
remove(fname_temp);
remove(fname_temp);
Write
Preview
Loading…
Cancel
Save