diff options
author | rbuj <[email protected]> | 2021-12-21 18:15:15 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-01-27 08:29:33 +0100 |
commit | 89686c62f46565ae828112ae148f7f785fe5fcca (patch) | |
tree | ea070042dcdfe92366bc25f41c510b5bf558b059 /src | |
parent | 771b7ae6931dffc46288364ad1363a07225862e7 (diff) | |
download | marco-89686c62f46565ae828112ae148f7f785fe5fcca.tar.bz2 marco-89686c62f46565ae828112ae148f7f785fe5fcca.tar.xz |
compositor-xrender: remove unrequired g_free because of g_new0
Diffstat (limited to 'src')
-rw-r--r-- | src/compositor/compositor-xrender.c | 5 |
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)); |