Update README.md

This commit is contained in:
AUnicornWithNoLife 2023-05-15 13:08:35 +01:00 committed by GitHub
parent 72fc4e2301
commit 7266746727
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,4 +31,4 @@ values and lv_values both point to argv, and lv_labels points to argv + 1, as to
when done with the data, call
`carg_parse_free(carg_parse_data* data)`
to free the data, it does not free the individual values and labels, as these just point to the values in argv, so if you have moved / modified these pointers, you will have to free them yourself.
to free the data, it does not free the individual values and labels, as these just point to the values in argv, so if you have moved / modified these pointers, you will have to free them yourself. this has the benifit as well, of allowing you to free carg, even if you have values pointing to strings passed in.