summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-xrender.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/compositor-xrender.c')
-rw-r--r--src/compositor/compositor-xrender.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index fff82b21..d496c384 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -402,11 +402,6 @@ presum_gaussian (shadow *shad)
msize = map->size;
centre = map->size / 2;
- if (shad->shadow_corner)
- g_free (shad->shadow_corner);
- if (shad->shadow_top)
- g_free (shad->shadow_top);
-
shad->shadow_corner = (guchar *)(g_malloc ((msize + 1) * (msize + 1) * 26));
shad->shadow_top = (guchar *) (g_malloc ((msize + 1) * 26));