std::auto_ptr used wrong
Bug #549317 reported by
Jonas No
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
Krzysztof Kosinski |
Bug Description
std::auto_ptr can't be used with arrays, example:
"std::auto_
std::auto_ptr use "delete ptr" and _not_ "delete [] ptr"
Location found:
RELEASE_
Line: 461
and since it's used there you should search the whole project for more of the same bug
side note: boost have a scoped array class that can be used (or you can make your own version, usually not recommended)
Related branches
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks, fixed in Bazaar r9240.
This seems to be the only instance of such wrong use.