Added dangling pointers rule
Merge pull request #38 from Paul92/coding-standard

Added dangling pointers rule