On Wed, Jul 02, 2003 at 07:31:28PM -0700, Joe Conway wrote:

I haven't looked at the plpgsql code so IMBFOS, but

> +                                     /*
> +                                      * Normal return values get a var node
> +                                      */
> +                                     var = malloc(sizeof(PLpgSQL_var));
> +                                     memset(var, 0, sizeof(PLpgSQL_var));

why is this a malloc() and not palloc()?  And when/where/how is it freed?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El Maquinismo fue proscrito so pena de cosquilleo hasta la muerte"
(Ijon Tichy en Viajes, Stanislaw Lem)

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to