More tweaks to avoid warnings (minor memory leak fixed in HTMLLinker.m)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36535 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2013-04-15 06:04:40 +00:00
parent f418b79b35
commit 18f5375e2b
7 changed files with 69 additions and 22 deletions

View file

@ -332,9 +332,12 @@ static char *buildURL(parsedURL *base, parsedURL *rel, BOOL standardize)
{
*tmp++ = '/';
}
l = strlen(base->path);
memcpy(tmp, base->path, l);
tmp += l;
if (base->path)
{
l = strlen(base->path);
memcpy(tmp, base->path, l);
tmp += l;
}
}
else
{