summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/spice-channel-cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/spice-channel-cache.h b/src/spice-channel-cache.h
index 238ceb7..e609a67 100644
--- a/src/spice-channel-cache.h
+++ b/src/spice-channel-cache.h
@@ -131,6 +131,7 @@ static inline void cache_clear(display_cache *cache)
static inline void cache_free(display_cache *cache)
{
g_hash_table_unref(cache->table);
+ g_slice_free(display_cache, cache);
}
G_END_DECLS