Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource leaks in StreamDBClient.java: 293 #49

Open
StrongestNumber9 opened this issue Jun 24, 2024 · 0 comments
Open

Resource leaks in StreamDBClient.java: 293 #49

StrongestNumber9 opened this issue Jun 24, 2024 · 0 comments
Labels
bug Something isn't working Coverity Issues found by coverity

Comments

@StrongestNumber9
Copy link
Contributor

Describe the bug

 *** CID 1594363:  Resource leaks  (RESOURCE_LEAK)
/src/main/java/com/teragrep/pth_06/planner/StreamDBClient.java: 293 in com.teragrep.pth_06.planner.StreamDBClient$SliceTable.create(org.jooq.DSLContext)()
287                                 path,
288                                 logtime,
289                                 filesize
290                         );
291                 query.execute();
292     
>>>     CID 1594363:  Resource leaks  (RESOURCE_LEAK)
>>>     Failing to save or close resource created by "ctx.createIndex(com.teragrep.pth_06.planner.StreamDBClient.SliceTable.logtimeIndex).on(com.teragrep.pth_06.planner.StreamDBClient.SliceTable.SLICE_TABLE, com.teragrep.pth_06.planner.StreamDBClient.SliceTable.logtime)" leaks it.
293                 ctx.createIndex(logtimeIndex).on(SLICE_TABLE, logtime).execute();
294             }
295     
296         }
297     
298         // TODO WIP

Software version

3.0.1

@StrongestNumber9 StrongestNumber9 added bug Something isn't working Coverity Issues found by coverity labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Coverity Issues found by coverity
Projects
None yet
Development

No branches or pull requests

1 participant