• Evan Huus's avatar
    ptvcursor: add explicit memory scope · e4b8a585
    Evan Huus authored and A Wireshark GitLab Utility's avatar A Wireshark GitLab Utility committed
    I was hoping to avoid this, since the ptvcursor should already be
    implicitly scoped to the tree it is working on. But there are a bunch of
    call sites where the passed tree can be NULL (?) and a few places where
    the tree is explicitly set/reset after creation, so requiring an
    explicit scope is safer.
    Avoids global memory pools in favour of ones the compiler can verify.