Bugzilla – Bug 199
OpenCL Spec Example "D.3 A Simple Reduction Example" leaks memory
Last modified: 2009-08-20 20:05:40 PDT
"load_program_source" opens a file with fopen and never closes it.
the source buffer returned from "load_program_source" is never freed. (neither at the end of a successful run or during any of the early-out error cases).