Opened 6 years ago

#14957 new bug

auto_ptr shouldn't be used with new[]

Reported by: leemon Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Drivers Version: R1/Development
Keywords: syntax error Cc:
Blocked By: Blocking:
Platform: All

Description

With cppcheck I found several places where auto_ptr is used with new[]:

src/add-ons/print/drivers/canon_lips/lips3/Lips3.cpp:168, 169 src/add-ons/print/drivers/canon_lips/lips4/Lips4.cpp:178, 179 src/add-ons/print/drivers/pcl5/PCL5.cpp:154, 155 src/add-ons/print/drivers/postscript/PS.cpp:274, 275

Change History (0)

Note: See TracTickets for help on using tickets.