changeset 6772:7cb0789238ee

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 12 May 2026 07:39:56 +0200
parents eabb2b485437
children 283317a0effa 55669d3f63bc
files OrthancFramework/Sources/Cache/SharedObjectCache.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Cache/SharedObjectCache.cpp	Mon May 11 19:41:52 2026 +0200
+++ b/OrthancFramework/Sources/Cache/SharedObjectCache.cpp	Tue May 12 07:39:56 2026 +0200
@@ -112,7 +112,7 @@
     if (found == content_.end())
     {
       assert(!lru_.Contains(id));
-      return NULL;
+      return boost::shared_ptr<IDynamicObject>();  // Initialization to NULL
     }
     else
     {