pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
Replace strdup() with pstrdup(), to avoid leaking memory. It's been like this since the seg module was introduced, so backpatch to 8.2 which is the oldest supported version. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/7541d32e86b739afb41e711a4c790aed446dd0e2 Modified Files -------------- contrib/seg/seg.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)