lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6612) Resource leak
Date Fri, 26 Jun 2015 03:25:04 GMT

    [ 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 <rishabh.mahendra.patel@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


Mime
View raw message