Correct memory leak in the RTE cleanup
[ric-plt/lib/rmr.git] / src / rmr / common / src / rtc_static.c
index 15fe567..ee84c91 100644 (file)
@@ -274,11 +274,6 @@ static void* rtc( void* vctx ) {
                return NULL;
        }
 
-       if( (ctx->ephash = rmr_sym_alloc( RT_SIZE )) == NULL ) {                // master hash table for endpoints (each rt will reference this)
-               rmr_vlog( RMR_VL_CRIT, "rmr_rtc: internal mishap: unable to allocate an endpoint hash table\n" );
-               return NULL;
-       }
-
        if( (eptr = getenv( ENV_VERBOSE_FILE )) != NULL ) {
                vfd = open( eptr, O_RDONLY );
                vlevel = refresh_vlevel( vfd );