59d39d1 journal: Only move to objects when necessary

Authored and Committed by daandemeyer 2 years ago
    journal: Only move to objects when necessary
    
    Let's make sure we only move to objects when it's required. If "ret"
    is NULL, the caller isn't interested in the actual object and the
    function being called shouldn't move to it unless it has to
    inspect/modify the object itself.