Mercurial > hg > th-libs
view cfg.test01 @ 719:d51c277bea6b
Set th_ioctx::memAlloc to zero in th_mem_fclose() if memory is freed. This fixes the issue if file is reopened and th_mem_realloc() fails to notice that we have no allocated memory.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 11 Nov 2020 13:35:03 +0200 |
parents | 77495c646208 |
children |
line wrap: on
line source
# Configuration written by th-libs unit tests 0.2 general = { # A comment that # spans multiple # lines automatically a_string_setting = "v_str1" #test # Hex triplet value setting hexval="11223344" # A boolean value boolval = no # A string list string_list = "\zoo", "foo", "b\"ar" } another_sect = { # Another section boolval = yes inside_sect = { # Section inside a section intval = 112 } }