]> granicus.if.org Git - postgresql/commit
Replace strdup() with pstrdup(), to avoid leaking memory.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 19 May 2011 02:30:24 +0000 (22:30 -0400)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 19 May 2011 02:36:14 +0000 (22:36 -0400)
commit4919a20c3331dbecd170387b58075210d6245f51
treea3595f7bef1bcdba270618efc82499788dc73952
parent3b65ffa2bf44ea3a1d2b20968a40e72e9fb4687f
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.
contrib/seg/seg.c