Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | vos: OAcceptorSocket dtor and base dtor both attempt to delete the socket | ||||||
---|---|---|---|---|---|---|---|
Product: | udk | Reporter: | caolanm | ||||
Component: | code | Assignee: | hennes.rohling | ||||
Status: | CLOSED FIXED | QA Contact: | issues@udk <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues | ||||
Version: | OOo 2.2.1 | ||||||
Target Milestone: | OOo 2.3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
caolanm
2007-07-01 17:35:21 UTC
Created attachment 46409 [details]
patch to avoid
->Caolan: Couldn't we just move the "osl_closeSocket" call to "OSocket::close" and completely remove "OAcceptorSocket::~OAcceptorSocket" ? Anyway, reassigned to Hennes ... . Simple enough to make it into 2.3 ;-) Removing ~OAcceptorSocket would make the change incompatible. Furthermore: close() is a virtual method of OAcceptorSocket and calling close() from base dtor will call OScoket::close() but not OAcceptorSocket::close(). Taking Caolans patch. Fixed on CWS hropatches Verfied the patch. closed |