f



Ace deallocate bug

.../3rd-party/ace-6.4.0/rhel7-x86_64-clang-3.4.2/include/ace/Free_List.cpp:74:5: warning: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
    delete element;

Discovered by clang.
0
garynicholls
9/23/2016 9:44:46 AM
comp.soft-sys.ace 20326 articles. 1 followers. marlow.andrew (167) is leader. Post Follow

1 Replies
473 Views

Similar Articles

[PageSpeed] 24

Hi,

Please use the PROBLEM-REPORT-FORM so that we have all information. For these kind of issues please create a pull request at https://github.com/DOCGroup/ACE_TAO to get them fixed.

Best regards,

Johnny

On Friday, September 23, 2016 at 11:44:47 AM UTC+2, garyni...@gmail.com wrote:
> ../3rd-party/ace-6.4.0/rhel7-x86_64-clang-3.4.2/include/ace/Free_List.cpp:74:5: warning: Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'delete'
>     delete element;
> 
> Discovered by clang.

0
Johnny
9/23/2016 5:30:43 PM
Reply: