Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754765Ab3JYT7r (ORCPT ); Fri, 25 Oct 2013 15:59:47 -0400 Received: from Chamillionaire.breakpoint.cc ([80.244.247.6]:46083 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753020Ab3JYT7q (ORCPT ); Fri, 25 Oct 2013 15:59:46 -0400 Date: Fri, 25 Oct 2013 21:59:43 +0200 From: Sebastian Andrzej Siewior To: Cong Ding Cc: "Hans J. Koch" , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH] uio: fix memory leak Message-ID: <20131025195943.GB16436@breakpoint.cc> References: <1382685953-19413-1-git-send-email-dinggnu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1382685953-19413-1-git-send-email-dinggnu@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 533 Lines: 13 On 25.10.13, Cong Ding wrote: > we have to call kobject_put() to clean up the kobject after function > kobject_init(), kobject_add(), or kobject_uevent() is called. > > Signed-off-by: Cong Ding Acked-by: Sebastian Andrzej Siewior Sebastian -- 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/