]> 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:35:49 +0000 (22:35 -0400)
commit5d1923b424252e0ff2921ddaf0ce80cc73ef5560
treeddc46214fe6c011cfa82d3f54d65494eb9a4165b
parent891c23ff6ecefe871fb0cff1a6a1dc37cf7d25bf
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