Return-Path: sunita
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA05494; Fri, 26 Mar 93 13:32:09 -0800
Date: Fri, 26 Mar 93 13:32:09 -0800
Message-Id: <9303262132.AA05494@postgres.Berkeley.EDU>
From: <sunita@postgres.berkeley.edu>
Subject: Re: datumCopy/datumFree
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu

> This indeed solved some problems I was having.  However, shouldn't the
> same be applied to datumFree() which frees memory allocated by
> datumCopy()?

At most places of the code we check for NULL before calling datumFree()
so you may not need this. But just to be extra sure you could put in
those harmless lines. On similiar grounds,  this check could also be 
inserted in datumIsEqual.

Sunita
