To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79079
                 Issue #|79079
                 Summary|b3dtex.cxx: theoretical leak of the AcquireReadAccess 
                        |if the other fails
               Component|Drawing
                 Version|OOo 2.2.1
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|thb
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Mon Jul  2 11:04:23 +0000 
2007 -------
We have the AcquireReadAccess before 

if (bGotReadAccess)

and the ReleaseReadAccess inside that if. For the alpha channel case the
bGotReadAccess depends on both Acquires being successful, if theoretically one
failed, then the other would not get released.

Patch attached for consideration.

---------------------------------------------------------------------
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