[1.2.4] Fix memory leaks in phalcon_role_adapter_memory_check_inheritance