View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005663 | Open CASCADE | OCCT:Foundation Classes | public | 2004-04-09 11:29 | 2014-04-28 12:11 |
| Reporter | Assigned To | bugmaster | |||
| Priority | normal | Severity | trivial | ||
| Status | closed | Resolution | won't fix | ||
| OS | All | ||||
| Fixed in Version | 6.4.0 | ||||
| Summary | 0005663: Memory leak in Standard_SStream | ||||
| Description | Macro GetSString in Standard_SStream.hxx does not unfreeze the buffer and this effectively leads to memory leak (see the docs on Visual C++ and Sun Workshop). Two possible solutions: 1) Macro GetSString is converted to inline function and there is added the code: "SStream.rdbuf() -> freeze(0);" Then the internal buffer of SStream will be automatically released when the SStream object is destroyed. 2) Alternative to (1): insert (wherever relevant) the calls "freeze(0)" when Standard_SStream is constructed and used. Particularly it is necessary to correct the files: - XmlDrivers_DocumentStorageDriver.cxx, - XmlDrivers_DocumentRetrievalDriver.cxx | ||||
| Tags | No tags attached. | ||||
| Test case number | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2004-09-30 15:58 |
|
CC | => abv |
| 2004-10-01 12:35 | bugmaster | Assigned To | bugmaster => agv |
| 2004-10-01 12:35 | bugmaster | Status | new => assigned |
| 2011-08-02 11:23 | bugmaster | Category | OCCT:FDC => OCCT:Foundation Classes |
| 2014-04-25 20:28 | kgv | Relationship added | related to 0024792 |
| 2014-04-25 20:31 | kgv | Note Added: 0029088 | |
| 2014-04-25 20:31 | kgv | Assigned To | agv => bugmaster |
| 2014-04-25 20:31 | kgv | Status | assigned => feedback |
| 2014-04-25 20:31 | kgv | Resolution | open => won't fix |
| 2014-04-25 20:31 | kgv | Fixed in Version | EMPTY => |
| 2014-04-25 20:31 | kgv | Description Updated | |
| 2014-04-28 11:53 |
|
Target Version | => 6.7.1 |
| 2014-04-28 11:56 | bugmaster | Status | feedback => closed |
| 2014-04-28 12:11 |
|
Note Added: 0029091 | |
| 2014-04-28 12:11 |
|
Fixed in Version | => 6.4.0 |
| 2014-04-28 12:11 |
|
Target Version | 6.7.1 => |
| 2014-04-28 12:11 |
|
Relationship added | related to 0021758 |