Ensure that malloc'ed memory freed in check_redundant_key
Analysis of the OProfile code by Coverity showed that in some cases the
memory malloced for bitmap would not be freed. In the case that a
redundant key is found the memory should also be freed.