celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriele Ricciardi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CELIX-355) Memory leak when .properties file contains empty lines
Date Wed, 20 Apr 2016 16:16:25 GMT
Gabriele Ricciardi created CELIX-355:
----------------------------------------

             Summary: Memory leak when .properties file contains empty lines
                 Key: CELIX-355
                 URL: https://issues.apache.org/jira/browse/CELIX-355
             Project: Celix
          Issue Type: Bug
          Components: Framework
            Reporter: Gabriele Ricciardi
         Attachments: properties_load_empty_lines.patch

The properties_load function generates memory leak when reading a .properties file containing
empty lines. The problem is that those empty lines are not ignored (as comment lines are).

Attached a patch that fix the leak.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message