• D
    Add test case for parsing JSON docs · 06da1805
    Daniel P. Berrange 提交于
    While investigating some memory leaks it was unclear whether the
    JSON code correctly free'd all memory during parsing. Add a test
    case which can be run under valgrind to clearly demonstrate that
    the parser is leak free.
    
    * tests/Makefile.am: Add 'jsontest'
    * tests/jsontest.c: A few simple JSON parsing tests
    06da1805
jsontest.c 4.1 KB