Bugs item #2992369, was opened at 2010-04-26 17:01
Message generated for change (Tracker Item Submitted) made by runz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2992369&group_id=40728

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: runz (runz)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2 memory leaks

Initial Comment:
version: SVN trunk
OS: Linux

1:
graphsym.cpp
Newly allocated memory for _frag_atoms in the OBGraphSym constructor gets not 
freed.
A simple `delete _frag_atoms;` in the destructor solved it for my test case, 
but this has to be reviewed esp. if frag_atoms are given as parameters.

2:
obconversion.cpp
The last pLineEndBuf created in OBConversion::InstallStreamFilter() gets never 
freed.
'delete pLineEndBuf;' in the destructor worked though.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=428740&aid=2992369&group_id=40728

------------------------------------------------------------------------------
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to