You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maze.cpp allocates two nested arrays with the new keyword. which means they are both dynamic pointers which won't be deleted when the program exits unless a delete keyword is used or if it's called with a free() function.
the program does not delete the two nested arrays before exiting, thus, causing a memory leak when it goes out of scope.
The text was updated successfully, but these errors were encountered:
maze.cpp allocates two nested arrays with the
new
keyword. which means they are both dynamic pointers which won't be deleted when the program exits unless adelete
keyword is used or if it's called with afree()
function.the program does not delete the two nested arrays before exiting, thus, causing a memory leak when it goes out of scope.
The text was updated successfully, but these errors were encountered: