Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not using delete[] to delete an array, unknown behavior. #515

Closed
winlinvip opened this issue Nov 2, 2015 · 1 comment
Closed

Not using delete[] to delete an array, unknown behavior. #515

winlinvip opened this issue Nov 2, 2015 · 1 comment
Assignees
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Milestone

Comments

@winlinvip
Copy link
Member

winlinvip commented Nov 2, 2015

new T[] should be used in conjunction with delete[], otherwise some libraries may have undefined behavior.

TRANS_BY_GPT3

@winlinvip winlinvip added the Bug It might be a bug. label Nov 2, 2015
@winlinvip winlinvip added this to the srs 2.0 release milestone Nov 2, 2015
@winlinvip
Copy link
Member Author

fixed

@winlinvip winlinvip self-assigned this Sep 25, 2021
@winlinvip winlinvip changed the title 没有使用delete[]删除数组,未知行为 Not using delete[] to delete an array, unknown behavior. Jul 29, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It might be a bug. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

1 participant