mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
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:
parent
f418b79b35
commit
18f5375e2b
7 changed files with 69 additions and 22 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue