summaryrefslogtreecommitdiffstats
path: root/core/uemis.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-16 07:50:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-16 06:20:33 -0400
commit065c41b8347a4343d0f616542eadbb72f3d04bf1 (patch)
treedc5d0cd0e404cdb40043868d120405b9fca4c5c8 /core/uemis.c
parentc61cf991e01f562cbcbd228c42e057db6690fea8 (diff)
downloadsubsurface-065c41b8347a4343d0f616542eadbb72f3d04bf1.tar.gz
Core: copy / free serial and fw_version items of struct divecomputer
The serial and fw_version strings of struct divecomputer were copied by pointer. This worked because they were never freed or modified. Instead, do a deep copy of the strings and free them when appropriate. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/uemis.c')
0 files changed, 0 insertions, 0 deletions