Tom I Take it I should not free before the function returns ? - Mailing list pgsql-interfaces

From Doherty EMAIL ACCOUNT
Subject Tom I Take it I should not free before the function returns ?
Date
Msg-id 004a01c70d96$b3e87540$c801a8c0@jmdbox
Whole thread Raw
List pgsql-interfaces
James M Doherty" <jim@jdoherty.net> writes:
>                                 pfree(myRDate);
>                         PG_RETURN_TEXT_P(myRDate);

Egad.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate      subscribe-nomail command to
majordomo@postgresql.orgso that your      message can get through to the mailing list cleanly
 


pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: C LIBRARY EXTENSION SEGFAULT
Next
From: "Doherty EMAIL ACCOUNT"
Date:
Subject: Fw: SEGFAULT ON EXTENDED FUNCTION