зеркало из https://github.com/mozilla/gecko-dev.git
fix mem leak. pnunn. bugz# 5552.
This commit is contained in:
Родитель
4b73338386
Коммит
ad63b1eb39
|
@ -221,6 +221,8 @@ nsGIFDecFactory::CreateInstance(nsISupports *aOuter,
|
|||
*ppv = NULL;
|
||||
delete gifdec;
|
||||
}
|
||||
delete ic; /* is a place holder */
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
@ -224,6 +224,7 @@ nsJPGDecFactory::CreateInstance(nsISupports *aOuter,
|
|||
*ppv = NULL;
|
||||
delete jpgdec;
|
||||
}
|
||||
delete ic; /* is a place holder */
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
@ -221,6 +221,8 @@ nsPNGDecFactory::CreateInstance(nsISupports *aOuter,
|
|||
*ppv = NULL;
|
||||
delete pngdec;
|
||||
}
|
||||
delete ic; /* is a place holder */
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче