mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00
Bug 236003 null check missing in nsBookmarksService (seamonkey version of bug 235129)
r=timeless sr=dbaron a=shaver
This commit is contained in:
parent
368f56b1fa
commit
a54fdd5651
@ -4763,7 +4763,7 @@ nsBookmarksService::exportBookmarks(nsISupportsArray *aArguments)
|
||||
NS_ENSURE_TRUE(pathUni, NS_ERROR_NULL_POINTER);
|
||||
|
||||
// determine file type to export; default to HTML unless told otherwise
|
||||
const PRUnichar* format = nsnull;
|
||||
const PRUnichar* format = EmptyString().get();
|
||||
rv = getArgumentN(aArguments, kRDF_type, 0, getter_AddRefs(node));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user