Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261626AbTIXVuz (ORCPT ); Wed, 24 Sep 2003 17:50:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261631AbTIXVuz (ORCPT ); Wed, 24 Sep 2003 17:50:55 -0400 Received: from mail.kroah.org ([65.200.24.183]:3759 "EHLO perch.kroah.org") by vger.kernel.org with ESMTP id S261626AbTIXVuv (ORCPT ); Wed, 24 Sep 2003 17:50:51 -0400 Date: Wed, 24 Sep 2003 14:34:53 -0700 From: Greg KH To: Oleg Drokin Cc: marcelo@conectiva.com.br, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [2.4] devio.c memleak on unexpected disconnect Message-ID: <20030924213453.GD11234@kroah.com> References: <20030921185922.GA1185@linuxhacker.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030921185922.GA1185@linuxhacker.ru> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 587 Lines: 17 On Sun, Sep 21, 2003 at 10:59:22PM +0400, Oleg Drokin wrote: > Hello! > > There is a memleak in devio.c (User space communication with USB devices) > recently added, it forgets to free the buffer if device was disconnected. > > The patch is trivial, please apply. > Found with help of smatch. Applied to my trees, thanks. greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/