url: Fixed memory leak in setstropt_userpwd()
authorSteve Holme <steve_holme@hotmail.com>
Sat, 20 Apr 2013 17:40:13 +0000 (18:40 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 20 Apr 2013 17:40:13 +0000 (18:40 +0100)
commitfe880475ed3c7e51e32e19112252c79e921cc31b
tree8f182b3888d43ffe86ee2cc5e50418f106e6e7d0
parent5821d5f11108f3c5268bcdb25b4763ef16e79bbf
url: Fixed memory leak in setstropt_userpwd()

setstropt_userpwd() was calling setstropt() in commit fddb7b44a79d to
set each of the login details which would duplicate the strings and
subsequently cause a memory leak.
lib/url.c