Update README.md

This commit is contained in:
CK Tan 2020-11-13 13:14:16 -08:00 committed by GitHub
parent 577e48e03f
commit 5fb977508a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ For example:
toml_datum_t host = toml_string_in(tab, "host");
if (host.ok) {
printf("host: %s\n", host.u.s);
free(host.u.s); /* FREE applies to string type only */
free(host.u.s); /* FREE applies to string and timestamp types only */
}
```