Thanks to Noriko who ran coverity tests the previous fix was invalid.
Changing the call slapi_ch_free into slapi_ch_free_string.

https://fedorahosted.org/389/attachment/ticket/48266/0001-Ticket-48266-4-Fractional-replication-evaluates-severa.patch