From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1UHa4N-0004kr-SF for ltp-list@lists.sourceforge.net; Mon, 18 Mar 2013 13:25:43 +0000 Date: Mon, 18 Mar 2013 14:26:27 +0100 From: chrubis@suse.cz Message-ID: <20130318132626.GD3423@rei> References: <20130318121509.GA3423@rei> <1004735862.20216185.1363612313920.JavaMail.root@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1004735862.20216185.1363612313920.JavaMail.root@redhat.com> Subject: Re: [LTP] [PATCH v4] syscalls/getdents: Add parameter to test getdents64 syscall List-Id: Linux Test Project General Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-list-bounces@lists.sourceforge.net To: Jan Stancek Cc: ltp-list@lists.sourceforge.net Hi! > > You don't need to bother to free the buffers when the next thing the > > test does is exit, the whole heap along with malloc data structures > > will > > be freed (unmapped) by the kernel anyway. > > I think it's nice thing to cleanup. Say, if test corrupted heap, > free could alert you. Also there are tools, which may complain, > that there's a leak now. I think LTP supports at least valgrind. So what about compromise, defining them as variables instead of the allocation? -- Cyril Hrubis chrubis@suse.cz ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list