From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id D5EE7BB81 for ; Fri, 31 Dec 2004 16:48:36 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBVFmarG004087 for ; Fri, 31 Dec 2004 16:48:36 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA25650 for ; Fri, 31 Dec 2004 16:48:36 +0100 (MET) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBVFmZZo005127 for ; Fri, 31 Dec 2004 16:48:36 +0100 Received: from reddwarf.xs4all.nl (voge.xs4all.nl [213.84.6.60]) by smtp-vbr2.xs4all.nl (8.12.11/8.12.11) with SMTP id iBVFmZK2081214 for ; Fri, 31 Dec 2004 16:48:35 +0100 (CET) (envelope-from lodewijk@reddwarf.xs4all.nl) Received: (qmail 1046 invoked from network); 31 Dec 2004 15:52:57 -0000 Received: from unknown (HELO ?192.168.3.65?) (192.168.3.65) by reddwarf.voge.xs4all.nl with SMTP; 31 Dec 2004 15:52:57 -0000 Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <200412311510.40207.jon@jdh30.plus.com> References: <2D67CB0C-5907-11D9-B386-000A95A068A6@reddwarf.xs4all.nl> <41D51D75.5010406@wanadoo.fr> <200412311510.40207.jon@jdh30.plus.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6DF329FB-5B43-11D9-9722-000A95A068A6@reddwarf.xs4all.nl> Content-Transfer-Encoding: 7bit From: Lodewijk Voge Subject: Re: [Caml-list] memory leak in C snippet? Date: Fri, 31 Dec 2004 16:48:34 +0100 To: caml-list@inria.fr X-Mailer: Apple Mail (2.619) X-Virus-Scanned: by XS4ALL Virus Scanner X-Miltered: at concorde with ID 41D574D4.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41D574D3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 wrote:01 camlprim:01 ocaml:01 unix:01 external:02 unit:02 unit:02 addr:07 memory:08 inet:08 function:08 leak:12 snippet:13 type:14 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.0 X-Spam-Level: On 31-dec-04, at 16:10, Jon Harrop wrote: >>> CAMLprim value bar(value unit) { > What is the ocaml type of this function? external bar: unit -> Unix.inet_addr * unit = "bar" Lodewijk