X-Git-Url: https://git.llucax.com/z.facultad/75.52/treemulator.git/blobdiff_plain/4768f71d6fb65f870faa20d3aa9251562aef3841..eabe0084451a515b80a7fd462c71b4bb2f8dd7bd:/src/random.cpp diff --git a/src/random.cpp b/src/random.cpp index b4f1260..8a36882 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -47,6 +47,8 @@ void Random::Ints (std::list &lst, uint n) numeros[random + 3 * n] = true; lst.push_back (random); } + + delete [] numeros; } void Random::Strings (std::list &lst, uint n)