fix leaks

This commit is contained in:
alecf%netscape.com 1999-06-04 04:19:46 +00:00
parent 8b67b30a63
commit 96cb99cd23

View File

@ -455,7 +455,7 @@ void nsMsgDatabase::UnixToNative(char*& ioPath)
else
*dst++;
}
PR_Free(ioPath);
nsCRT::free(ioPath);
ioPath = result;
}
}
@ -597,7 +597,7 @@ NS_IMETHODIMP nsMsgDatabase::OpenMDB(const char *dbName, PRBool create)
if (ret == NS_OK)
ret = InitNewDB();
}
PR_FREEIF(nativeFileName);
nsCRT::free(nativeFileName);
}
}
return ret;