[Libreoffice-commits] core.git: lingucomponent/source
Caolán McNamara
caolanm at redhat.com
Wed Oct 2 12:27:19 PDT 2013
lingucomponent/source/spellcheck/spell/sspellimp.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 3ec4fedc6a3d96b0625d274d9542dc787949231f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Oct 2 20:26:00 2013 +0100
CID#983035 fix potential memleak
Change-Id: If41d78ce424e85390c7a92eaa36f912c43eef390
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 7e1a1c5..d68fd25 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -476,9 +476,10 @@ Reference< XSpellAlternatives >
OUString cvtwrd(suglst[ii],strlen(suglst[ii]),eEnc);
pStr[numsug + ii] = cvtwrd;
}
- pMS->free_list(&suglst, count);
numsug += count;
}
+
+ pMS->free_list(&suglst, count);
}
}
More information about the Libreoffice-commits
mailing list