Re: Patch for PGunescapeBytea

Поиск
Список
Период
Сортировка
От Ben Lamb
Тема Re: Patch for PGunescapeBytea
Дата
Msg-id 200305051859.43663.pgsql-patches@zurgy.org
обсуждение исходный текст
Ответ на Re: Patch for PGunescapeBytea  ("Magnus Naeslund(f)" <mag@fbab.net>)
Список pgsql-patches
On Monday 05 May 2003 5:45 pm, Magnus Naeslund(f) wrote:
> I think these lines:
>
> buffer = realloc(buffer, buflen);
> ---
> if (buffer == NULL)
>     return NULL;
> ---
>
> are wrong. Shouldn't one do:
> ---
> tmpbuf=realloc(buf,...);
> if (!tmpbuf)
>     free(buf), return 0;
> ---

Thanks for pointing this out, do I need to send an updated patch to the list?

Ben.


В списке pgsql-patches по дате отправления:

Предыдущее
От: "Magnus Naeslund(f)"
Дата:
Сообщение: Re: Patch for PGunescapeBytea
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: Simple LRU for clog and (later) subtrans