fixed a memory leak

git-svn-id: svn://10.0.0.236/trunk@8152 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
valeski%netscape.com
1998-08-18 22:38:03 +00:00
parent fa2deda6fe
commit e05d07e172

View File

@@ -275,6 +275,8 @@ NS_METHOD nsHttpUrlImpl::AddMimeHeader(const char *name, const char *value)
aName,
aVal,
TRUE);
PR_Free(aName);
PR_Free(aVal);
return NS_OK;
}