Ticket 49534 - Fix coverity regression
Description: In automembers plugin a free was in the wrong spot
which later led to a double free for the "rule".
https://pagure.io/389-ds-base/issue/49534
Reviewed by: mreynolds (one line commit rule)
(cherry picked from commit b3768e602fdfc2ea1fc645b17ad61c8592ab87fa)