summaryrefslogtreecommitdiff
path: root/src/frames.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/frames.c')
-rw-r--r--src/frames.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/frames.c b/src/frames.c
index b816996..03e11d3 100644
--- a/src/frames.c
+++ b/src/frames.c
@@ -322,11 +322,8 @@ invalidate_cache (MetaFrames *frames,
if (pixels->bottom)
g_object_unref (pixels->bottom);
- pixels->top = NULL;
- pixels->bottom = NULL;
- pixels->right = NULL;
- pixels->left = NULL;
-
+ g_free (pixels);
+
g_hash_table_remove (frames->cache, frame);
}