diff --git a/src/subsidy_base.h b/src/subsidy_base.h index 015c773cc5..a4eb6ccd69 100644 --- a/src/subsidy_base.h +++ b/src/subsidy_base.h @@ -28,6 +28,11 @@ struct Subsidy : SubsidyPool::PoolItem<&_subsidy_pool> { */ FORCEINLINE Subsidy() { } + /** + * (Empty) destructor has to be defined else operator delete might be called with NULL parameter + */ + FORCEINLINE ~Subsidy() { } + /** * Tests whether this subsidy has been awarded to someone * @return is this subsidy awarded?