Avoid off-by-one error when using readlink
Add missing break statement
sizeof(int*) where sizeof(int) was intended
Remove unused member(s)
Don't leak data returned by opendir
Merge pull request #273 from nbougalis/static-analysis

Cleanups from static analysis