Avoid reports about a potential memory leak
Avoid reports about a potential memory leak

We should call free(iterator) if iterator_frame is NULL before we
return. However, we don't check for malloc return value in our codebase,
so we can remove this condition instead.
Addressing:
openscap-1.2.15/src/OVAL/adt/oval_collection.c:141:11: warning:
Potential leak of memory pointed to by 'iterator'

mpreisler/openscap,redhatrises/openscap,jan-cerny/openscap,mpreisler/openscap,OpenSCAP/openscap,jan-cerny/openscap,mpreisler/openscap,redhatrises/openscap,redhatrises/openscap,redhatrises/openscap,mpreisler/openscap,OpenSCAP/openscap,mpreisler/openscap,redhatrises/openscap,jan-cerny/openscap,OpenSCAP/openscap,OpenSCAP/openscap,redhatrises/openscap,OpenSCAP/openscap,mpreisler/openscap,jan-cerny/openscap,jan-cerny/openscap,OpenSCAP/openscap,jan-cerny/openscap