irvingans opened a new issue, #1840:
URL: https://github.com/apache/jena/issues/1840

   ### Version
   
   3.16.0
   
   ### What happened?
   
   I recently came across a bug in the source code where an InputStream is not 
closed properly. This could potentially lead to memory leaks and other issues.
   
   The code in question can be found in
   
https://github.com/apache/jena/blob/main/jena-tdb1/src/main/java/org/apache/jena/tdb/setup/StoreParamsCodec.java.
 
   
   Specifically, the InputStream
   
![image](https://user-images.githubusercontent.com/70804456/230864775-0ecb037c-c6cd-4359-aa57-0b299ae4fbc7.png)
   
   is not being closed after use.
   
   I would like to report this issue and request that it be addressed in a 
future release. Closing the InputStream after use will prevent potential memory 
leaks and ensure proper resource management.
   
![3](https://user-images.githubusercontent.com/70804456/230865502-5192f4e7-afcc-45bc-b429-5b2be9baae04.PNG)
   
   
   ### Relevant output and stacktrace
   
   _No response_
   
   ### Are you interested in making a pull request?
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to