Ticket #145 (new defect)
Memory leak in yaml_document_t?
|Reported by:||pem@…||Owned by:||xi|
valgrind (v3.3.0) reports a memory after having called yaml_document_delete():
1,536 bytes in 1 blocks are definitely lost in loss record 1 of 1
at 0x4C2560E: malloc (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so) by 0x4E2DF68: yaml_document_initialize (api.c:1058) by 0x4009F7: main (yaml-leak.c:11)
when running the attached, very minimal, program. All it does is yaml_parse_load() of any yaml input. (A single word will do.) This is with libyaml 0.1.3.