summaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 11:02:28 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-06 11:23:25 -0700
commitd97c49ba39833275cf15a2753cb084efdfd5c923 (patch)
tree1862ab43d620c1584d6852adfe369cc0fbea533e /load-git.c
parent0c24d7d6bd457907765a569b0de5cc0e73ecb6e8 (diff)
downloadsubsurface-d97c49ba39833275cf15a2753cb084efdfd5c923.tar.gz
When copying dives, make copies of samples/events in first DC
We carefully copied the dive computers and their samples and events, but only for the second and later DCs. For the first DC we simply copied the pointers but not what they were pointing at. So when the copied dive was freed, those pointers in the original went to freed memory. Not good. Fixes #599 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'load-git.c')
0 files changed, 0 insertions, 0 deletions