Skip to content

Commit

Permalink
Another tiny (and benign) cl_event memory leak fixed in common-opencl.c
Browse files Browse the repository at this point in the history
  • Loading branch information
magnumripper committed Oct 9, 2012
1 parent 6a784c0 commit fcd70bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common-opencl.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ void opencl_find_best_workgroup_limit(struct fmt_main *self, size_t group_size_l
advance_cursor();
local_work_size = my_work_group;

clReleaseEvent(*profilingEvent);

self->methods.crypt_all(self->params.max_keys_per_crypt);

HANDLE_CLERROR(clFinish(queue[ocl_gpu_id]), "clFinish error");
Expand Down

0 comments on commit fcd70bd

Please sign in to comment.