diff options
author | Matt Holgate <matt@emobix.co.uk> | 2014-06-26 11:11:52 +0100 |
---|---|---|
committer | Matt Holgate <matt@emobix.co.uk> | 2014-06-26 11:58:35 +0100 |
commit | ca43cfebcad7fef14b954e9b300e5bf818bfe4c5 (patch) | |
tree | bbcdebe6d1488fda59e6d08d7087c0cf161f8493 /platform/ios/Classes/MuPrintPageRenderer.m | |
parent | e8f0394761e24ad1cdb143aa40e5594e93a97f0b (diff) | |
download | mupdf-ca43cfebcad7fef14b954e9b300e5bf818bfe4c5.tar.xz |
Fix various Xcode analyzer warnings.
Most were pretty harmless, and were addressed by renaming functions to match the Core
Foundation naming conventions, but there was one actual memory leak, and some potential
uses of uninitialised data.
Diffstat (limited to 'platform/ios/Classes/MuPrintPageRenderer.m')
-rw-r--r-- | platform/ios/Classes/MuPrintPageRenderer.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/Classes/MuPrintPageRenderer.m b/platform/ios/Classes/MuPrintPageRenderer.m index ba452d6b..9a396df7 100644 --- a/platform/ios/Classes/MuPrintPageRenderer.m +++ b/platform/ios/Classes/MuPrintPageRenderer.m @@ -168,11 +168,11 @@ static void renderPage(fz_document *doc, fz_page *page, fz_pixmap *pix, fz_matri if (!pix) goto exit; - dataref = wrapPixmap(pix); + dataref = CreateWrappedPixmap(pix); if (dataref == NULL) goto exit; - img = newCGImageWithPixmap(pix, dataref); + img = CreateCGImageWithPixmap(pix, dataref); if (img == NULL) goto exit; |