From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carlos =?ISO-8859-1?Q?Mart=EDn?= Nieto Subject: Re: [PATCH 1/2] cmd_clone: free dir and path buffers Date: Thu, 31 Mar 2011 17:06:29 +0200 Message-ID: <1301583996.11592.3.camel@bee.lab.cmartin.tk> References: <1301581122-19947-1-git-send-email-cmn@elego.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org, Junio C Hamano To: John Szakmeister X-From: git-owner@vger.kernel.org Thu Mar 31 17:06:53 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5JSU-0005Sn-HO for gcvg-git-2@lo.gmane.org; Thu, 31 Mar 2011 17:06:50 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758077Ab1CaPGn convert rfc822-to-quoted-printable (ORCPT ); Thu, 31 Mar 2011 11:06:43 -0400 Received: from mx0.elegosoft.com ([88.198.54.133]:43368 "EHLO mx0.elegosoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757716Ab1CaPGn (ORCPT ); Thu, 31 Mar 2011 11:06:43 -0400 Received: from localhost (localhost [127.0.0.1]) by mx0.elegosoft.com (Postfix) with ESMTP id 2F9A81B4CC0; Thu, 31 Mar 2011 17:06:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx0.elegosoft.com Received: from mx0.elegosoft.com ([127.0.0.1]) by localhost (mx0.elegosoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uwWL6mL8IcrF; Thu, 31 Mar 2011 17:06:37 +0200 (CEST) Received: from [10.10.10.234] (i59F7870A.versanet.de [89.247.135.10]) by mx0.elegosoft.com (Postfix) with ESMTPSA id D453F1B4CAE; Thu, 31 Mar 2011 17:06:36 +0200 (CEST) In-Reply-To: X-Mailer: Evolution 2.91.92 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On jue, 2011-03-31 at 10:45 -0400, John Szakmeister wrote: > On Thu, Mar 31, 2011 at 10:18 AM, Carlos Mart=C3=ADn Nieto wrote: > > The variables dir and path are always allocated on the stack so it'= s > > always safe to free them. >=20 > I think you mean "on the heap". :-) Indeed I do=20 cmn