From b5ce06c8b958cdc51761c31697189db81baf4423 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Mon, 22 Jan 2018 20:29:55 +0100 Subject: Free various struct membuffer in different functions Signed-off-by: Stefan Fuchs --- desktop-widgets/subsurfacewebservices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets/subsurfacewebservices.cpp') 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) { -- cgit v1.2.3-70-g09d2