mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2026-11-19 10:22:23 +00:00
patch #9819: Address several leaks in SVN rev 1429
Submitted by Adrian Klieber git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1435 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
1 parent
c34fb88844
commit
785b0cea55
7 files changed
+24
-1
No files matched your search
@@ -45,6 +45,7 @@ void DisplayErrorText(DWORD dwLastError) {
|
||||
int exists(char *filename) {
|
||||
FILE * pFile;
|
||||
pFile = fopen(filename, "r");
|
||||
if (pFile) fclose(pFile);
|
||||
return pFile != NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user