Plug a memory leak.

Addressing:
48 bytes in 3 blocks are definitely lost in loss record 2 of 4
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x31F78AE548: xmlStrndup (in /usr/lib64/libxml2.so.2.9.1)
    by 0x31F78EBB8C: xmlTextReaderGetAttribute (in /usr/lib64/libxml2.so.2.9.1)
    by 0x4C9BA9A: cpe23_item_parse (cpedict_ext_priv.c:129)
    by 0x4C9B08C: cpe_item_parse (cpedict_priv.c:840)
    by 0x4C9B2E2: cpe_dict_model_parse (cpedict_priv.c:646)
    by 0x4C9B4B9: cpe_dict_model_parse_xml (cpedict_priv.c:580)
    by 0x4C955E2: cpe_dict_model_import (cpedict.c:56)
    by 0x40CBE1: app_info (oscap-info.c:220)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
    by 0x4069BE: main (oscap.c:79)
Plug a memory leak.

Addressing:
 148 bytes in 3 blocks are definitely lost in loss record 3 of 4
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x31F78AE548: xmlStrndup (in /usr/lib64/libxml2.so.2.9.1)
    by 0x31F78EBB8C: xmlTextReaderGetAttribute (in /usr/lib64/libxml2.so.2.9.1)
    by 0x4C9BA87: cpe23_item_parse (cpedict_ext_priv.c:128)
    by 0x4C9B08C: cpe_item_parse (cpedict_priv.c:840)
    by 0x4C9B2E2: cpe_dict_model_parse (cpedict_priv.c:646)
    by 0x4C9B4B9: cpe_dict_model_parse_xml (cpedict_priv.c:580)
    by 0x4C955E2: cpe_dict_model_import (cpedict.c:56)
    by 0x40CBE1: app_info (oscap-info.c:220)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
    by 0x4069BE: main (oscap.c:79)
Plug a memory leak.

Addressing:
 379 bytes in 7 blocks are definitely lost in loss record 4 of 4
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x31F78AE548: xmlStrndup (in /usr/lib64/libxml2.so.2.9.1)
    by 0x31F78EBB8C: xmlTextReaderGetAttribute (in /usr/lib64/libxml2.so.2.9.1)
    by 0x4C9B86A: cpe23_item_parse (cpedict_ext_priv.c:244)
    by 0x4C9B08C: cpe_item_parse (cpedict_priv.c:840)
    by 0x4C9B2E2: cpe_dict_model_parse (cpedict_priv.c:646)
    by 0x4C9B4B9: cpe_dict_model_parse_xml (cpedict_priv.c:580)
    by 0x4C955E2: cpe_dict_model_import (cpedict.c:56)
    by 0x40CBE1: app_info (oscap-info.c:220)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
    by 0x4069BE: main (oscap.c:79)
Plug a memory leak.
Addressing:
 35 bytes in 1 blocks are definitely lost in loss record 2 of 3
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x4C58B38: __oscap_alloc (alloc.c:52)
    by 0x4C9688C: cpe_name_get_as_format (cpename.c:670)
    by 0x4C97F3B: cpe_testexpr_export (cpelang_priv.c:571)
    by 0x4C98047: cpe_testexpr_export (cpelang_priv.c:603)
    by 0x4C9811B: cpe_platform_export (cpelang_priv.c:556)
    by 0x4C981B7: cpe_lang_export (cpelang_priv.c:538)
    by 0x4C9FF8A: xccdf_benchmark_to_dom (benchmark.c:303)
    by 0x4CA0246: xccdf_benchmark_export (benchmark.c:236)
    by 0x4CB2CE5: xccdf_session_export_xccdf (xccdf_session.c:998)
    by 0x40B9D9: app_evaluate_xccdf (oscap-xccdf.c:508)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
Merge pull request #7 from jan-cerny/maint-1.0

Maint 1.0
Plug a memory leak.

Addressing:
 37 bytes in 1 blocks are definitely lost in loss record 2 of 3
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x31EAC860B9: strdup (in /usr/lib64/libc-2.18.so)
    by 0x4C5DBDA: oscap_strdup (util.c:65)
    by 0x4CB1AEF: xccdf_session_set_report_export (xccdf_session.c:291)
    by 0x40B9D1: app_evaluate_xccdf (oscap-xccdf.c:507)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
    by 0x4069BE: main (oscap.c:79)
Plug a memory leak.
Addressing:
 4 bytes in 1 blocks are definitely lost in loss record 1 of 1
    at 0x4A0645D: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
    by 0x31EAC860B9: strdup (in /usr/lib64/libc-2.18.so)
    by 0x4C5DBDA: oscap_strdup (util.c:65)
    by 0x4C9743C: cpe_parser_ctx_set_schema_version (cpe_ctx_priv.c:97)
    by 0x4C99A37: cpe_generator_parse (cpedict_priv.c:710)
    by 0x4C9B2C9: cpe_dict_model_parse (cpedict_priv.c:644)
    by 0x4C9B4C9: cpe_dict_model_parse_xml (cpedict_priv.c:580)
    by 0x4C955E2: cpe_dict_model_import (cpedict.c:56)
    by 0x40CBE1: app_info (oscap-info.c:220)
    by 0x4079BF: oscap_module_process (oscap-tool.c:261)
    by 0x4069BE: main (oscap.c:79)
Merge pull request #8 from jan-cerny/maint-1.0

Plug a memory leak.
Merge branch 'maint-1.0' into maint-1.1