summaryrefslogtreecommitdiffstats
path: root/core/connectionlistmodel.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2017-11-18 10:03:58 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-11-22 19:22:14 +0100
commit7a99d7e5c3b297b543a9ce1ab36e337c1a8e0bf0 (patch)
treec9970f32021491a4041a54dd41d394a511986359 /core/connectionlistmodel.h
parent4c1a2cc8dc5aa5dea367d57ef3e6233239d926e7 (diff)
downloadsubsurface-7a99d7e5c3b297b543a9ce1ab36e337c1a8e0bf0.tar.gz
Copy default filename string when assigning to default preferences
This tries to remove subtle ownership issues. When copying preferences structures, the default filename is copied. But the default preferences struct simply takes a pointer to a global string which is free()d in main(). Now, this is not strictly a bug because the free()ing of preferences resources is not implemented. Yet, let's try to make this consistent. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/connectionlistmodel.h')
0 files changed, 0 insertions, 0 deletions