pblock_analytics_destroy(Slapi_PBlock *pb)
{
    /* Some parts of DS re-use or double free pblocks >.< */
    if (pb->analytics_init != ANALYTICS_MAGIC) {
        return;
    }
    /* Free the array of values */
    PL_HashTableDestroy(pb->analytics);
    pb->analytics_init = 0;
}
pblock_analytics_destroy(Slapi_PBlock *pb)
{
     
    if (pb->analytics_init != ANALYTICS_MAGIC) {
        return;
    }
     
    PL_HashTableDestroy(pb->analytics);
    pb->analytics_init = 0;
}