Solved some free memory problems
Issue Number:

Description:
    New features:

Benchmarks:
    Developed with the following benchmarks:

Todo: