summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util/palette.cpp')
-rw-r--r--src/lib/util/palette.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/util/palette.cpp b/src/lib/util/palette.cpp
index 47fa06c05bd..59a63b2c8f5 100644
--- a/src/lib/util/palette.cpp
+++ b/src/lib/util/palette.cpp
@@ -256,6 +256,15 @@ palette_t::palette_t(uint32_t numcolors, uint32_t numgroups)
// palette_t - destructor
//-------------------------------------------------
+palette_t::~palette_t()
+{
+}
+
+
+//-------------------------------------------------
+// palette_t - destructor
+//-------------------------------------------------
+
void palette_t::deref()
{
if (--m_refcount == 0)