To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79074
                 Issue #|79074
                 Summary|basic: potential leak in SbxArray::operator=
               Component|scripting
                 Version|OOo 2.2
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|kr
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Mon Jul  2 09:32:29 +0000 
2007 -------
There's an unconditional 

SbxVarEntryPtr pDstRef = new SbxVarEntry

in that method, but then there's an if test, and if true pDstRef is assigned
someplace, but on false the pDstRef is not deleted, and SbxVarEntryPtr is just a
typedef'ed pointer, not a smart pointer.

So how about this patch to avoid the new if we're not going to use it ? ...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to