diff options
| author | rtr <rtr@NetBSD.org> | 2007-11-04 06:07:52 +0000 |
|---|---|---|
| committer | rtr <rtr@NetBSD.org> | 2007-11-04 06:07:52 +0000 |
| commit | 6dc1829962c9de1259ba3ed91ed0a6c8d42a0191 (patch) | |
| tree | f186f0506d4456dd2a2b1920ee88235fd11aef3c /gnu/usr.bin/diffutils/diff3 | |
| parent | 51f434b0bb2c2a3f873ad85e2e4730632fdffa02 (diff) | |
+ don't free strdup()'d ptr that was manipulated.
(i.e. free(): warning: modified (chunk-) pointer))
+ don't leak memory for ptr actually returned from strdup()
+ don't strdup() if we don't have to
+ don't break without free() if we did strdup()
+ as well as freeing h_value also free the header.
Diffstat (limited to 'gnu/usr.bin/diffutils/diff3')
0 files changed, 0 insertions, 0 deletions
