[RFC][PATCH] Fix for potential memory leak in GuiLyXFiles::updateContents
Stephan Witt
st.witt at gmx.net
Thu Feb 20 08:37:12 UTC 2020
Hi all,
the last one of the potential memory leaks is a little bit trickier.
The loop logic for subcatItem if cats contains catsave doesn’t guarantee
a match so a check for the match is needed after all.
This makes me unsure what should be done in this case.
Ignore it or warn about it or try something else?
Stephan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GuiLyXFiles-subcatItem.patch
Type: application/octet-stream
Size: 990 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200220/329b0062/attachment.obj>
More information about the lyx-devel
mailing list