Ticket 49185 - Fix leaks in compute init and dblayer
Bug Description: There were a number of leaks in compute_init
and dblayer related to db2archive.
Fix Description: Resolve the leaks by fixing the free of of
dblayer close, and the double init of compute.
https://pagure.io/389-ds-base/issue/49185
Author: wibrown
Review by: mreynolds, tbordaz (Thanks!)