[Libreoffice-commits] core.git: vcl/jsdialog
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 8 08:01:06 UTC 2021
vcl/jsdialog/jsdialogbuilder.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit eaa06413554be4ef4c73686c185c3d49e9defba4
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Mon Mar 8 07:43:55 2021 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Mon Mar 8 09:00:21 2021 +0100
jsdialog: fix free JsonWriter assertion
Change-Id: I4bf1606d4f14fbaf9b63d5b06ff115a0f4d7eb21
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112150
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/vcl/jsdialog/jsdialogbuilder.cxx b/vcl/jsdialog/jsdialogbuilder.cxx
index 5c379952a634..c2c1ee2f0078 100644
--- a/vcl/jsdialog/jsdialogbuilder.cxx
+++ b/vcl/jsdialog/jsdialogbuilder.cxx
@@ -83,6 +83,10 @@ void JSDialogNotifyIdle::send(tools::JsonWriter& aJsonWriter)
free(aJsonWriter.extractData());
}
}
+ else
+ {
+ free(aJsonWriter.extractData());
+ }
}
namespace
More information about the Libreoffice-commits
mailing list