From commits-return-3547-apmail-celix-commits-archive=celix.apache.org@celix.apache.org Wed Apr 20 16:16:27 2016 Return-Path: X-Original-To: apmail-celix-commits-archive@www.apache.org Delivered-To: apmail-celix-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0064219FCD for ; Wed, 20 Apr 2016 16:16:27 +0000 (UTC) Received: (qmail 50422 invoked by uid 500); 20 Apr 2016 16:16:25 -0000 Delivered-To: apmail-celix-commits-archive@celix.apache.org Received: (qmail 50375 invoked by uid 500); 20 Apr 2016 16:16:25 -0000 Mailing-List: contact commits-help@celix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@celix.apache.org Delivered-To: mailing list commits@celix.apache.org Received: (qmail 50333 invoked by uid 500); 20 Apr 2016 16:16:25 -0000 Delivered-To: apmail-incubator-celix-commits@incubator.apache.org Received: (qmail 50296 invoked by uid 99); 20 Apr 2016 16:16:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2016 16:16:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 841E62C14F4 for ; Wed, 20 Apr 2016 16:16:25 +0000 (UTC) Date: Wed, 20 Apr 2016 16:16:25 +0000 (UTC) From: "Gabriele Ricciardi (JIRA)" To: celix-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CELIX-355) Memory leak when .properties file contains empty lines MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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)