Memory leak in BufferedSocket
Bug #194696 reported by
Big Muscle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Low
|
Unassigned |
Bug Description
This bug has been found in BufferedSocket:
When some function (for example threadConnect()) throws an exception, checkEvents will throw it to upper level (to BufferedSocket:
There are two possible solutions:
a) catch exception in checkEvents() where "p.second" will be deleted and then the exception will be thrown again.
b) make TaskData as "Smart Pointer" so it would delete itself when reference is lost.
Changed in dcplusplus: | |
importance: | Undecided → Low |
Changed in dcplusplus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
good bug report