2c1bd9a fix for 50542 crashes in filter tests

Authored and Committed by lkrispen 4 years ago
    fix for 50542 crashes in filter tests
    
    The crash is when a backentry is released, there is a call to CACHE_RETURN
    and then check and free of a vlv entry.
    But CACHE_RETURN, under some conditions, can free the backentry - the following check will
    dereference a NULL entry and crashes
    
    Fix: Reverse the order of freeing vlv entry and returning entry to cache
    
    Note: Viktor did successfully runthe tests, thanks
    
    Reviewed by: ?