My Oracle Support Banner

Destructor Not Invoked If An Exception Is Thrown When Temporaries Are Created And Code Is Compiled With Optimization Flags (Doc ID 2868681.1)

Last updated on DECEMBER 07, 2023

Applies to:

Oracle Solaris Studio - Version 12.6 to 12.6 [Release 12]
Information in this document applies to any platform.

Symptoms

Given the following code

which means that the destructor is not being invoked causing memory leaks.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.