[gegl] noise-hurl: do not release cl_random_data it is global
- From: Massimo Valentini <mvalentini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] noise-hurl: do not release cl_random_data it is global
- Date: Tue, 19 Nov 2013 18:07:44 +0000 (UTC)
commit 339ef0209e0170adb9db9701e15b8f3fb689abb4
Author: Massimo Valentini <mvalentini src gnome org>
Date: Tue Nov 19 19:07:01 2013 +0100
noise-hurl: do not release cl_random_data it is global
it is released during gegl_exit
operations/common/noise-hurl.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/noise-hurl.c b/operations/common/noise-hurl.c
index e1aa759..82bc933 100644
--- a/operations/common/noise-hurl.c
+++ b/operations/common/noise-hurl.c
@@ -192,9 +192,6 @@ cl_process (GeglOperation *operation,
return FALSE;
error:
- if (cl_random_data)
- gegl_clReleaseMemObject (cl_random_data);
-
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]