Skip to content
This repository was archived by the owner on May 27, 2019. It is now read-only.

Commit f6282cf

Browse files
committed
Free memory when exiting graph menu
1 parent fde5d58 commit f6282cf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Program.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ void Program::start() {
119119

120120
} while (option2 != '0');
121121

122+
delete graph;
123+
122124
} while (option != '0');
123125
}
124126

0 commit comments

Comments
 (0)