pgsql: Replace strdup() with pstrdup(), to avoid leaking memory. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
Date
Msg-id E1QMtJK-0002en-UZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ea896da394cbb0fb32a4b41065ea04b81c4b03f6

Modified Files
--------------
contrib/seg/seg.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Replace strdup() with pstrdup(), to avoid leaking memory.