mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-04 02:56:40 +08:00
fix: Release allocated memory
This commit is contained in:
@@ -51,5 +51,7 @@ int main() {
|
||||
}
|
||||
} while (ch != 0);
|
||||
|
||||
delete stack;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user