Replace strdup() with pstrdup(), to avoid leaking memory.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| contrib/seg/seg.c | modified | +1 −1 |