Detecting Secure Memory Deallocation Violations with CBMC