diff --git a/DataStructures/Trees/RedBlackBST.java b/DataStructures/Trees/RedBlackBST.java index 197c9632..45501fd2 100644 --- a/DataStructures/Trees/RedBlackBST.java +++ b/DataStructures/Trees/RedBlackBST.java @@ -330,5 +330,6 @@ public class RedBlackBST { printTree(root); System.out.println("Pre order"); printTreepre(root); + scan.close(); } } \ No newline at end of file