ChaoticIssam / Exam05

0 stars 0 forks source link

Memory Leak #1

Open AslanAmca opened 3 months ago

AslanAmca commented 3 months ago

Hi I am opening this issue to ask a question about Exam 05.

Do created or removed objects need to be deleted?

Some examples on GitHub take into account the memory leak situation, others don't use delete for any object.

If you have given the exam, you know the answer, I would appreciate a response.

ChaoticIssam commented 3 months ago

Hello Ali, from my experience with the exam, you do not need to delete objects to pass. The examples you see on the repo might vary, with some addressing memory management and others not, but for the purpose of passing the exam, I think managing memory through delete is not required. Best of luck with your exam!