From owner-freebsd-questions@FreeBSD.ORG Sat Sep 20 11:46:24 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D5C7106566B for ; Sat, 20 Sep 2008 11:46:24 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: from web110507.mail.gq1.yahoo.com (web110507.mail.gq1.yahoo.com [67.195.8.112]) by mx1.freebsd.org (Postfix) with SMTP id 6C9488FC14 for ; Sat, 20 Sep 2008 11:46:24 +0000 (UTC) (envelope-from trashy_bumper@yahoo.com) Received: (qmail 6155 invoked by uid 60001); 20 Sep 2008 11:46:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=bmW7cNOwC1KOxJeROAXjuN0nupelxPx7J9hT6AJTvfl2wT/Y/D3cgIpjQIarv1gnCzDsZmP9VE1vp8gZ0UIeVAnA1eN5woJmYXbIgOf/ovMKwyrt8qs/sTv2pKyk2RTNoWXY5FmZTvQoVx2x3SC6pBbR/C1lf1Yn64d+mb9l4Hk=; X-YMail-OSG: MGfnfnAVM1lfO0UQLwatUzs5L00yZIh4PgWXYCQxkLpGSDy5zg2R4vSKTP55eHL_nTJFY24ZNf6n6vjX4PRvVEWYFF3iRhWnZkp4BEiJPci2My.MdjMa8bZom1MpwF9OIdwJjgWFhGe42nZHuiwqr.tH6jadXFBJ9GDwxS08XzwFYCqHmNDI Received: from [77.122.205.244] by web110507.mail.gq1.yahoo.com via HTTP; Sat, 20 Sep 2008 04:46:23 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Sat, 20 Sep 2008 04:46:23 -0700 (PDT) From: Nash Nipples To: freebsd-questions@freebsd.org In-Reply-To: <958402.1645.qm@web57004.mail.re3.yahoo.com> MIME-Version: 1.0 Message-ID: <940047.3009.qm@web110507.mail.gq1.yahoo.com> Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Segmentation fault when free X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: trashy_bumper@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Sep 2008 11:46:24 -0000 actually what i think someone should really tell you is that maybe you should take a look at the free() manual which is available here http://www.freebsd.org/cgi/man.cgi?query=free&apropos=0&sektion=0&manpath=FreeBSD+7.0-RELEASE&format=html or you can try to run `man free` in the console. there is a good explanation on diagnostic and debugging malloc related problems can someone please explain to me what happens to the allocated memory called within a function assigned to its local pointer after this function ends