summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-30 09:01:15 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-09-30 09:01:15 -0700
commit02bfd2d9ea180047a8af90a80edb32ee51690c3a (patch)
tree1388b1e12b9ebda6b0a7abdc93ca77418efab50b /divelist.c
parent24c6197c1019e8a3e7e5924522071be5a68a7be9 (diff)
downloadsubsurface-02bfd2d9ea180047a8af90a80edb32ee51690c3a.tar.gz
Better fix for one of the memory leaks
The return value of subsurface_get_conf is a const void * - so we shouldn't just assign it to a variable where we know it will be changed. Instead we duplicate the string and free the original one. A little less efficient but cleaner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
0 files changed, 0 insertions, 0 deletions