diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-05 09:45:56 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-16 14:26:37 -0700 |
commit | 4e479677a078f43959dc7101fc47ba5afd79f344 (patch) | |
tree | 8e1303582edfd34b4ae11a166be433cee9e65d31 /.github/ISSUE_TEMPLATE.md | |
parent | 485ac4b58fcaf2db67532fb60d7078cada7b8456 (diff) | |
download | subsurface-4e479677a078f43959dc7101fc47ba5afd79f344.tar.gz |
cleanup: fix tiny memory hole in device.cpp
empty_string() returns true for "". Thus, we can't simply overwrite
the pointer if empyt_string() returns true, but must free the string
regardless. The joys of C memory management!
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.github/ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions