diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2018-01-22 20:29:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-02-02 11:29:55 -0800 |
commit | b5ce06c8b958cdc51761c31697189db81baf4423 (patch) | |
tree | a4b6550674a4f189b847c76a50f287fbb31cd1b8 /profile-widget | |
parent | d6c8edc2dbf04592ecf2ba00c743038babfa6f6b (diff) | |
download | subsurface-b5ce06c8b958cdc51761c31697189db81baf4423.tar.gz |
Free various struct membuffer in different functions
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'profile-widget')
-rw-r--r-- | profile-widget/diveeventitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index f47c5839c..8c8db6fd4 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -184,6 +184,7 @@ void DiveEventItem::setupToolTipString(struct gasmix *lastgasmix) tr("ΔN₂").toUtf8().constData(), icd_data.dN2 / 10.0, icd ? ">" : "<", lrint(-icd_data.dHe / 5.0) / 10.0); name += QString::fromUtf8(mb.buffer, mb.len); + free_buffer(&mb); } *lastgasmix = *mix; } else if (value) { |