Replace strdup() with pstrdup(), to avoid leaking memory.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 1f57a2f4dd2f6033e28b0e1f04ef31d5f456793c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2011-05-19T02:36:37Z
Releases: 8.2.22
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.

Files

PathChange+/−
contrib/seg/seg.c modified +1 −1