Missing free_var() at end of accum_sum_final()?

Поиск
Список
Период
Сортировка
От Joel Jacobson
Тема Missing free_var() at end of accum_sum_final()?
Дата
Msg-id 35fb0533-1e3e-42f6-b989-ce1f9b5f3ebe@app.fastmail.com
обсуждение исходный текст
Ответы Re: Missing free_var() at end of accum_sum_final()?  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,

I noticed the NumericVar's pos_var and neg_var are not free_var()'d at the end of accum_sum_final().

The potential memory leak seems small, since the function is called only once per sum() per worker (and from a few more places), but maybe they should be free'd anyways for correctness?

/Joel

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

Предыдущее
От: Amul Sul
Дата:
Сообщение: remove duplicate comment.
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Dead code in ps_status.c