diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-07-02 15:34:55 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-07-02 15:34:55 +0200 |
commit | 7cf2f8c26882aee4cd3e95fe22967f04318b6bf7 (patch) | |
tree | d6f30bdf0c71864b9c89ecc24dd8cd1ef7e9a3b1 /samples/sgemm.c | |
parent | b330ab086640382157688ea6b9633b5f0a22dac3 (diff) |
Fixed some memory leaks related to events not properly cleaned-up
Diffstat (limited to 'samples/sgemm.c')
-rw-r--r-- | samples/sgemm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/sgemm.c b/samples/sgemm.c index 79f30c83..b4827777 100644 --- a/samples/sgemm.c +++ b/samples/sgemm.c @@ -88,6 +88,7 @@ int main(void) { // Wait for completion clWaitForEvents(1, &event); + clReleaseEvent(event); // Example completed. See "clblast_c.h" for status codes (0 -> success). printf("Completed SGEMM with status %d\n", status); |