Fixed memory leaks.

In the future there will be no commits random editions to constructors,
while memory leaks like sieve >=[