OSDN Git Service

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:49:22 +0000 (22:49 -0400)
commitea896da394cbb0fb32a4b41065ea04b81c4b03f6
treeb8f571651e255b4d8f470230acf1c21dd92e3f67
parent1f35944607f1ede7dbb1dc3283d955b96f04ea5e
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