You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/26 05:25:04 UTC
[jira] [Commented] (LUCENE-6612) Resource leak
[ https://issues.apache.org/jira/browse/LUCENE-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14602343#comment-14602343 ]
ASF GitHub Bot commented on LUCENE-6612:
----------------------------------------
GitHub user rmp91 opened a pull request:
https://github.com/apache/lucene-solr/pull/164
Fixed resource leak
https://issues.apache.org/jira/browse/LUCENE-6612
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rmp91/lucene-solr LUCENE-6612
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/164.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #164
----
commit eee5a7706aa2790ba4bb1cdd76dcaea044c79ea1
Author: Rishabh Patel <ri...@gmail.com>
Date: 2015-06-26T03:19:59Z
Fixed resource leak
----
> Resource leak
> -------------
>
> Key: LUCENE-6612
> URL: https://issues.apache.org/jira/browse/LUCENE-6612
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Rishabh Patel
> Priority: Minor
> Labels: github-import
>
> In the file JaspellTernarySearchTrie.java, the resouce 'in' could be leaked upon exception.
> It can be fixed with a try-finally block.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org