diff options
Diffstat (limited to 'src/cl-utils.c')
-rw-r--r-- | src/cl-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cl-utils.c b/src/cl-utils.c index 5f3be316..dc0a2713 100644 --- a/src/cl-utils.c +++ b/src/cl-utils.c @@ -253,8 +253,8 @@ cl_program load_program(const char *filename, cl_context ctx, memcpy(source2+il, insert_stuff, strlen(insert_stuff)+1); memcpy(source2+il+strlen(insert_stuff), source+il+11, strlen(source+il+11)+1); - source = source2; free(source); + source = source2; } } |