Drizzle Client & Protocol Library

switch malloc/free for new/delete

Reported by Andrew Hutchings on 2012-12-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle Client & Protocol Library
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

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  Edit
Everyone can see this information.

Other bug subscribers