[gegl] gblue-1d: also free cmatrix for opencl codepath
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gblue-1d: also free cmatrix for opencl codepath
- Date: Wed, 21 Sep 2016 17:52:36 +0000 (UTC)
commit 14d395380ed45a8584a949ab6f42e033a1458a90
Author: Øyvind Kolås <pippin gimp org>
Date: Wed Sep 21 19:32:11 2016 +0200
gblue-1d: also free cmatrix for opencl codepath
operations/common/gblur-1d.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/gblur-1d.c b/operations/common/gblur-1d.c
index 39f92b6..d0c1c15 100644
--- a/operations/common/gblur-1d.c
+++ b/operations/common/gblur-1d.c
@@ -821,7 +821,10 @@ gegl_gblur_1d_process (GeglOperation *operation,
format == babl_format ("RaGaBaA float"))
if (fir_cl_process(input, output, result, format,
cmatrix, clen, o->orientation, abyss_policy))
+ {
+ gegl_free (cmatrix);
return TRUE;
+ }
if (o->orientation == GEGL_ORIENTATION_HORIZONTAL)
fir_hor_blur (input, result, output, cmatrix, clen, abyss_policy, format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]