switch malloc/free for new/delete

Bug #1094633 reported by Andrew Hutchings
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle Client & Protocol Library
Fix Released
High
Andrew Hutchings

Bug Description

Request from Brian:

things like:

con= new (std::nothrow) drizzle_st;

We get constructors... but don't take the hit with throw.
The one thing about it... we don't have throw... which means that we have to make sure that construction always happens. So either we have to do init() methods for failure... or just design objects to be simple.

Related branches

Revision history for this message
Andrew Hutchings (linuxjedi) wrote :

needed to fix bug #1098886

Changed in libdrizzle:
milestone: none → 5.1.2
status: New → Triaged
importance: Undecided → High
assignee: nobody → Andrew Hutchings (linuxjedi)
Changed in libdrizzle:
status: Triaged → Fix Committed
Changed in libdrizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.