diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-08-17 23:07:35 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-17 23:29:21 +0200 |
commit | 27b1e21913d8119ea27be05954156d15ca069e66 (patch) | |
tree | 8753f87c5529944c22bfbafd0fbd5d00f424bea2 /connectivity | |
parent | c0cc02e2934aeb12dda44818955e5964496c186a (diff) |
Related tdf#111634: Multiple memory leaks in libmacabdrv1 (part3)
Hope it'll fix leak from https://bugs.documentfoundation.org/show_bug.cgi?id=111634#c13
Change-Id: I61a51faf291145c8cafd03339b7bcc7b23072fba
Reviewed-on: https://gerrit.libreoffice.org/41268
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/macab/MacabRecord.cxx | 1 | ||||
-rw-r--r-- | connectivity/source/drivers/macab/MacabRecords.cxx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/macab/MacabRecord.cxx b/connectivity/source/drivers/macab/MacabRecord.cxx index 5cb71beff854..f4e9a8c65341 100644 --- a/connectivity/source/drivers/macab/MacabRecord.cxx +++ b/connectivity/source/drivers/macab/MacabRecord.cxx @@ -55,6 +55,7 @@ MacabRecord::~MacabRecord() { if(size > 0) { + releaseFields(); int i; for(i = 0; i < size; i++) { diff --git a/connectivity/source/drivers/macab/MacabRecords.cxx b/connectivity/source/drivers/macab/MacabRecords.cxx index ccc4dc3e8f6e..958fdd87c901 100644 --- a/connectivity/source/drivers/macab/MacabRecords.cxx +++ b/connectivity/source/drivers/macab/MacabRecords.cxx @@ -188,6 +188,8 @@ void MacabRecords::initialize() MacabRecords::~MacabRecords() { + delete [] lcl_CFTypes; + delete [] requiredProperties; } |