Ticket 48266 - Online init crashes consumer
Bug Description: When trying to create the 'replica keep alive' entry
on a consumer during an online init, the entry gets freed
in op_shared_add(), and then freed again in
replica_subentry_create() which leads to a crash.
Fix Description: Do not free the "keep alive" entry if a referral is
returned when trying to create the keep-alive entry.
https://fedorahosted.org/389/ticket/48266
Reviewed by: tbordaz(Thanks!)
(cherry picked from commit 5538bac519c5363bb456e98d615c9366dedd57d8)