Publishing 2019 R3 content
[platform/upstream/dldt.git] / inference-engine / include / details / ie_pre_allocator.hpp
index d4801ba..850f905 100644 (file)
@@ -49,7 +49,7 @@ class PreAllocator : public IAllocator {
             return _actualData;
         }
 
-        return this;
+        return nullptr;
     }
     /**
      * @brief The PreAllocator class cannot release the handle
@@ -83,4 +83,4 @@ std::shared_ptr<IAllocator>  make_pre_allocator(T *ptr, size_t size) {
 }
 
 }  // namespace details
-}  // namespace InferenceEngine
\ No newline at end of file
+}  // namespace InferenceEngine