WUtil: Avoid unnecessary strdup + free
commit32ecd4ee583127defc6e0e54dbe6e4408648475e
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 4 May 2013 13:43:26 +0000 (4 15:43 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sat, 4 May 2013 15:25:44 +0000 (4 16:25 +0100)
tree839dae6c544f5979ab6ad78415d5901450806fd3
parent98e3c7e3477cb1b241a5f4df8917ab7961e8fbb2
WUtil: Avoid unnecessary strdup + free

It is not good for memory fragmentation to duplicate a string and
then free the original; changed code to only keep originaly allocated
string.
WINGs/string.c