From 006bd729d8c170b8a1907e4255bb46bc431f8b1a Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Fri, 25 Oct 2024 12:02:45 +1100 Subject: [PATCH] attempted crashbug fix --- src/ripple/basics/TaggedCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple/basics/TaggedCache.h b/src/ripple/basics/TaggedCache.h index 6765ff16b..592d1713b 100644 --- a/src/ripple/basics/TaggedCache.h +++ b/src/ripple/basics/TaggedCache.h @@ -350,7 +350,7 @@ public: auto cachedData = entry.lock(); - if (cachedData) + if (cachedData && entry.ptr) { if (replace(entry.ptr)) {