Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

detection.c: Bugfix. Added a 'closedir' that had been ommitted, remov…

…ed the 'free' that had become invalid as a result.
  • Loading branch information...
commit 0250622b3eac77bb9387bfc33a99d5f9f0e61446 1 parent 1a98275
@TacoSteemers authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  code/detection.c
View
3  code/detection.c
@@ -53,7 +53,8 @@ void doCheck(void)
free(partitions[i]);
}
} while (entry != NULL);
- free(directory);
+ closedir(directory);
+ /*free(directory);*/
free(entry);
finalizeRun();
Please sign in to comment.
Something went wrong with that request. Please try again.