]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blobdiff - src/random.cpp
Agrega Makefile a doc/.
[z.facultad/75.52/treemulator.git] / src / random.cpp
index b4f126002a36584111cc06d2ab0510b1d7cc3647..8a36882bac2cab84a0b772794ff7781136eacda1 100644 (file)
@@ -47,6 +47,8 @@ void Random::Ints (std::list<int> &lst, uint n)
                numeros[random + 3 * n] = true;
                lst.push_back (random);
        }
                numeros[random + 3 * n] = true;
                lst.push_back (random);
        }
+
+       delete [] numeros;
 }
 
 void Random::Strings (std::list<std::string> &lst, uint n)
 }
 
 void Random::Strings (std::list<std::string> &lst, uint n)