You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/06/28 08:04:07 UTC

[Bug 120108] There is a memory leak in function ScViewData::ReadUserDataSequence

https://issues.apache.org/ooo/show_bug.cgi?id=120108

--- Comment #1 from ChaoHuang <ch...@gmail.com> ---
In the first loop of function "ScViewData::ReadUserDataSequence",
pTabData[nTab] will be reassigned to a new obj on heap. If the previous value
is not NULL, there will be no place to release the previous obj. So it may be a
memory leak. The solution is to check the pTabData[nTab] and free it if
possible before reassignment.

-- 
You are receiving this mail because:
You are the assignee for the bug.