summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-01-22 20:29:55 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-02-02 11:29:55 -0800
commitb5ce06c8b958cdc51761c31697189db81baf4423 (patch)
treea4b6550674a4f189b847c76a50f287fbb31cd1b8 /desktop-widgets
parentd6c8edc2dbf04592ecf2ba00c743038babfa6f6b (diff)
downloadsubsurface-b5ce06c8b958cdc51761c31697189db81baf4423.tar.gz
Free various struct membuffer in different functions
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.cpp b/desktop-widgets/subsurfacewebservices.cpp
index 93398ae6c..2db35b88a 100644
--- a/desktop-widgets/subsurfacewebservices.cpp
+++ b/desktop-widgets/subsurfacewebservices.cpp
@@ -125,7 +125,7 @@ bool DivelogsDeWebServices::prepare_dives_for_divelogs(const QString &tempfile,
report_error(tr("internal error").toUtf8());
goto error_close_zip;
}
- free((void *)membuf);
+ free_buffer(&mb);
transformed = xsltApplyStylesheet(xslt, doc, NULL);
if (!transformed) {