free allocated memory before ending the program

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
check_readonlyfs: new option -X|--exclude-type

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>