summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-05 09:45:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-16 14:26:37 -0700
commit4e479677a078f43959dc7101fc47ba5afd79f344 (patch)
tree8e1303582edfd34b4ae11a166be433cee9e65d31 /README.md
parent485ac4b58fcaf2db67532fb60d7078cada7b8456 (diff)
downloadsubsurface-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 'README.md')
0 files changed, 0 insertions, 0 deletions