aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-19 13:32:10 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-23 18:13:44 -0700
commitac3042b48bf8ee3a8f69a0384c5124c512108b11 (patch)
tree74e7a99cf2095bb292ffa1c23537b00aaa5b075a /packaging
parent6b1be8c4f6aee3f7793198a9e34af8fefbc2f1cc (diff)
downloadsubsurface-ac3042b48bf8ee3a8f69a0384c5124c512108b11.tar.gz
libdc: free value strings given by libdc's dc_parser_get_field()
Apparently libdc gives us copies of strings. The API is very scary, because (at least according to my reading of the code), the key/value pair may be stored in a cache. Thus on free()ing the string in the cache becomes invalid and we must not access it twice. Very obscure. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions