Garbage collect the strdup() replacement for mingw32
authorFabian Keil <fk@fabiankeil.de>
Sun, 22 May 2011 10:30:55 +0000 (10:30 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 22 May 2011 10:30:55 +0000 (10:30 +0000)
commit47b90119a38397c9710d7d9ff2ec316de017569d
tree43f94a63ebd24f113e7a9543e36346a189b947d0
parent7600ab8fcf587195f51d2faf6e92d1d1a2e24fd0
Garbage collect the strdup() replacement for mingw32

Supposedly it was added ten years ago to paper over a mingw32
bug where the returned pointer couldn't be free'd, but I doubt
that the bug still exists assuming the problem was analyzed
correctly in the first place.

If it does, we should notice soon enough as I'd consider
free'ing pointers returned by strdup() a rather common
operation.
miscutil.c
miscutil.h