Skip to content
Browse files

processArguments.c: Bugfix. Added an 'fclose', the filehandlers to th…

…e black- and whitelists were not being closed.
  • Loading branch information...
1 parent 0250622 commit 4c3bf1d8f7e263025e76f1a750fc3be3d7b94839 @TacoSteemers committed Oct 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 code/processArguments.c
View
1 code/processArguments.c
@@ -157,6 +157,7 @@ void loadListFromFile(char **out, const char * const *arr, int arrc, int indexOf
count++;
}
}
+ fclose(file);
syslog(LOG_INFO, "Using list located at \"%s\".\n", arr[indexOfArgument + 1]);
}

0 comments on commit 4c3bf1d

Please sign in to comment.
Something went wrong with that request. Please try again.