X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_hash.c;h=f6c2a2f0358ce7bbbfab5151abdb19fd28698c0a;hb=03343a6a545fb0f5bd36fb309a5dee153831c54f;hp=61074e5179dc59d9440a53fa915f6b90619f49e2;hpb=514d4c21e79d37636005186dd9ac5510742b7618;p=o-du%2Fl2.git diff --git a/src/cm/cm_hash.c b/src/cm/cm_hash.c index 61074e517..f6c2a2f03 100644 --- a/src/cm/cm_hash.c +++ b/src/cm/cm_hash.c @@ -826,11 +826,11 @@ Pool pool /* memory pool to allocate bins */ if (nmbBins) { #ifndef CM_MT_HASH_BIN - if (SGetSBuf(region, pool, (Data **) &hashListCp->hl, + if (SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,region, pool, (Data **) &hashListCp->hl, (Size) (nmbBins * sizeof(CmListEnt))) != ROK) return RFAILED; #else - if (SGetSBuf(region, pool, (Data **) &hashListCp->hl, + if (SGetSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,region, pool, (Data **) &hashListCp->hl, (Size) (nmbBins * sizeof(CmListBinEnt))) != ROK) return RFAILED; #endif @@ -903,11 +903,11 @@ CmHashListCp *hashListCp /* hash list to deinitialize */ /* deallocate memory for bins */ if (hashListCp->nmbBins) #ifndef CM_MT_HASH_BIN - (Void) SPutSBuf(hashListCp->region, hashListCp->pool, + (Void) SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,hashListCp->region, hashListCp->pool, (Data *) hashListCp->hl, (Size) (hashListCp->nmbBins * sizeof(CmListEnt))); #else - (Void) SPutSBuf(hashListCp->region, hashListCp->pool, + (Void) SPutSBufNewForDebug(__FILE__,__FUNCTION__,__LINE__,hashListCp->region, hashListCp->pool, (Data *) hashListCp->hl, (Size) (hashListCp->nmbBins * sizeof(CmListBinEnt))); #endif