[AVM][Utils][Tests][Binary] Reworked all places found with valgrind where memory leaks occurred. (See #8)