subsurface/core
Dirk Hohndel 61e8ceef05 core: avoid resource leak
That code was obviously wrong from the start.

Fixes CID 373921

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2021-12-17 09:23:34 -08:00
..
settings
subsurface-qt
android.cpp build-system/android: remove libusb at QTest 2020-04-25 13:18:41 -07:00
btdiscovery.cpp core/ble: add auto detection for Aladin A2 2021-07-20 09:28:38 -07:00
btdiscovery.h
checkcloudconnection.cpp cleanup: don't hardcode array length 2021-04-19 12:51:01 -07:00
checkcloudconnection.h
cloudstorage.cpp cloudstorage: remove ancient SSL hack 2021-04-19 12:51:01 -07:00
cloudstorage.h
CMakeLists.txt
cochran.c cleanup: split out divecomputer functions from dive.c 2020-10-25 13:59:52 -07:00
cochran.h
color.cpp profile: rename GF_LINE color to DURATION_LINE 2021-05-08 13:40:24 +02:00
color.h
compressibility.r
configuredivecomputer.cpp
configuredivecomputer.h
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c
deco.h
device.cpp
device.h
devicedetails.cpp
devicedetails.h
display.h
dive.c Round gas depth properly 2021-12-06 22:29:04 +01:00
dive.h Round gas depth properly 2021-12-06 22:29:04 +01:00
divecomputer.c
divecomputer.h
divefilter.cpp
divefilter.h
divelist.c
divelist.h
divelogexportlogic.cpp
divelogexportlogic.h avoid duplicate and inconsistent applying of QDir::separator() 2019-03-27 07:36:33 -07:00
divemode.h
divesite-helper.cpp
divesite.c mobile/edit: don't add dive site twice to table 2020-03-17 14:05:24 -07:00
divesite.h
divesitehelpers.cpp
divesitehelpers.h
downloadfromdcthread.cpp
downloadfromdcthread.h
equipment.c
equipment.h
errorhelper.c
errorhelper.h Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
event.c cleanup: break out event-related code into event.[c|h] 2020-10-25 13:59:52 -07:00
event.h cleanup: break out event-related code into event.[c|h] 2020-10-25 13:59:52 -07:00
exif.cpp
exif.h
extradata.h
file.c
file.h
filterconstraint.cpp cleanup: fix SkipEmptyParts warning for mobile 2021-11-24 10:53:26 -08:00
filterconstraint.h
filterpreset.cpp
filterpreset.h
format.cpp
format.h
fulltext.cpp
fulltext.h fulltext: remember original query 2020-09-29 16:13:03 -07:00
gas-model.c
gas.c
gas.h
gaspressures.c cleanup: constify populate_pressure_information() 2021-01-20 10:01:50 -08:00
gaspressures.h
gettext.h
gettextfromc.cpp
gettextfromc.h
git-access.c
git-access.h
imagedownloader.cpp
imagedownloader.h
import-cobalt.c
import-csv.c
import-csv.h
import-divinglog.c
import-seac.c
import-shearwater.c
import-suunto.c cleanup: remove system includes from dive.c 2020-10-25 13:59:52 -07:00
interpolate.h
ios.cpp
libdivecomputer.c
libdivecomputer.h Re-do the libdivecomputer fingerprint save/load code 2021-09-19 16:51:46 -07:00
liquivision.c
load-git.c
macos.c cloud-storage: simplify creation of git authorship 2020-04-09 17:05:44 -07:00
membuffer.cpp
membuffer.h
metadata.cpp
metadata.h
metrics.cpp desktop: cache photo and geo icons 2021-02-10 14:33:15 -08:00
metrics.h
ostctools.c
parse-gpx.cpp
parse-gpx.h
parse-xml.c
parse.c
parse.h
picture.c
picture.h
pictureobj.cpp
pictureobj.h
planner.c
planner.h cleanup: move DECOTIMESTEP from dive.h to planner.h 2020-05-01 09:42:31 -07:00
plannernotes.c planner: pass in_planner argument to decoMode() 2021-02-17 07:26:55 -08:00
pref.c core: remove location service preferences 2021-09-13 11:21:34 -07:00
pref.h core: remove location service preferences 2021-09-13 11:21:34 -07:00
profile.c Round gas depth properly 2021-12-06 22:29:04 +01:00
profile.h
qt-ble.cpp
qt-ble.h
qt-gui.h mobile/UI: remember the system default font size 2021-01-19 12:35:29 -08:00
qt-init.cpp
qthelper.cpp
qthelper.h cleanup: fix SkipEmptyParts warning for mobile 2021-11-24 10:53:26 -08:00
qtserialbluetooth.cpp
sample.c cleanup: split out divecomputer functions from dive.c 2020-10-25 13:59:52 -07:00
sample.h core: use int16_t for sensor-id 2021-07-23 11:16:00 -07:00
save-git.c
save-html.c cleanup: remove system includes from dive.c 2020-10-25 13:59:52 -07:00
save-html.h Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
save-profiledata.c Round gas depth properly 2021-12-06 22:29:04 +01:00
save-profiledata.h
save-xml.c core: avoid resource leak 2021-12-17 09:23:34 -08:00
selection.cpp selection: when changing current dive make sure it is selected 2020-09-20 18:23:57 -07:00
selection.h
serial_ftdi.c
serial_usb_android.cpp android/usb: remove "autoselect driver" option for unknown VID/PIDs 2020-03-16 07:58:20 -07:00
serial_usb_android.h
sha1.c
sha1.h
ssrf.h
statistics.c
statistics.h
string-format.cpp
string-format.h
strndup.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
strtod.c Core: introduce new subsurface-string header 2018-05-14 10:13:39 -07:00
structured_list.h media: use table instead of linked list for media 2020-05-06 13:58:09 -07:00
subsurface-string.h
subsurface-time.h
subsurfacestartup.c
subsurfacestartup.h
subsurfacesysinfo.cpp cleanup: refactor subsurfacesysinfo.cpp 2020-10-27 16:18:09 -07:00
subsurfacesysinfo.h
table.h media: create sort_picture_table function via macro 2020-05-06 13:58:09 -07:00
tag.c
tag.h
taxonomy.c
taxonomy.h
time.c
timer.c Add timestamps to libdivecomputer.log 2020-03-10 17:42:54 -07:00
timer.h
trip.c cleanup: fix over-eager Coverity warnings 2020-10-25 13:58:03 -07:00
trip.h
uemis-downloader.c
uemis.c
uemis.h Dive site: use pointer instead of uuid in uemis_helper 2018-10-29 00:09:31 +00:00
units.c cleanup: move definition of get_units() to core/unit.c 2021-01-02 10:26:29 -08:00
units.h
unix.c cleanup: remove system includes from dive.c 2020-10-25 13:59:52 -07:00
uploadDiveLogsDE.cpp
uploadDiveLogsDE.h
uploadDiveShare.cpp
uploadDiveShare.h
version.c Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
version.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
videoframeextractor.cpp
videoframeextractor.h
webservice.h
windows.c cleanup: refactor subsurfacesysinfo.cpp 2020-10-27 16:18:09 -07:00
windowtitleupdate.cpp
windowtitleupdate.h
worldmap-options.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
worldmap-save.c
worldmap-save.h
xmlparams.cpp
xmlparams.h
xmp_parser.cpp
xmp_parser.h