Fixing memoryleak, PropertyComparator was remembering the value it compared in the past.

Comment From: pivotal-issuemaster

@FlorianKirmaier Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: sbrannen

Thanks for submitting your first PR for the Spring Framework, @FlorianKirmaier!

We would like to merge this into main soon.

Can you please sign the Contributor License Agreement (see https://github.com/spring-projects/spring-framework/pull/26869#issuecomment-827585460).

Comment From: pivotal-issuemaster

@FlorianKirmaier Thank you for signing the Contributor License Agreement!

Comment From: FlorianKirmaier

Just signed the CLA.

Comment From: sbrannen

This has been merged into main.

Thanks