From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Simon Wunderlich Date: Tue, 27 May 2014 19:11:54 +0200 References: <1401203055-22240-1-git-send-email-sven@narfation.org> In-Reply-To: <1401203055-22240-1-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201405271911.54785.sw@simonwunderlich.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batadv-vis: Avoid file handler leak after failed realloc Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann > The read_file function opens the file and thus has to close the filehandler > after an realloc error. This was forgotten in the fix > 0ad384e11ed039d4c3025a7eaf19fe6bcfd41acf ("batadv-vis: Avoid memory leak > after failed realloc"). > Applied in revision 3b72283 Thanks, Simon