mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: port errorhelper.c to C++
Use the C++-version of membuffer. This fixes two memory leaks: report_info() on every(!) invocation and report_error() before the error callback is set. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
ec0bc2d06c
commit
b097c0a44f
3 changed files with 4 additions and 5 deletions
|
@ -33,7 +33,7 @@ SOURCES += subsurface-mobile-main.cpp \
|
|||
core/configuredivecomputer.cpp \
|
||||
core/divelogexportlogic.cpp \
|
||||
core/divesitehelpers.cpp \
|
||||
core/errorhelper.c \
|
||||
core/errorhelper.cpp \
|
||||
core/exif.cpp \
|
||||
core/format.cpp \
|
||||
core/gettextfromc.cpp \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue