there's some code like following in file url.c :
/* Check whether two URL-s are equivalent, i.e. pointing to the same
location. Uses parseurl to parse them, and compares the canonical
forms.
Returns 1 if the URL1 is equivalent to URL2, 0 otherwise. Also
return 0 on error. */
int
fanlb [EMAIL PROTECTED] writes:
Would u1 been leaved in memory,if allocation for u1 were succeeded
but u2 failed?
If any memory allocation fails, Wget exits with an appropriate error
message.
Edward J. Sabol [EMAIL PROTECTED] writes:
I think there's a valid point here. The memory allocation part of
the question was misleading though. There is a memory leak in
url_equal() if the second parseurl() returns a value other than
URLOK.
Ah, right, of course.
But I guess this is a