educative.io

Memory leak in resize() and delete() member function of HashTable

In resize(), i dont see old bucket nodes memory being released. Same way, delete() also doesnt release memory for node which is deleted! Memory leak problems should be included inherently in all programs.


Course: https://www.educative.io/collection/5642554087309312/5646276079124480
Lesson: https://www.educative.io/collection/page/5642554087309312/5646276079124480/5640425327034368

Hi @Chetan_Deshmukh

Thank You for pointing this out. It has been fixed now.
Happy Learning :blush: