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/common.h | |
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/common.h')
-rw-r--r-- | platform/ios/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/common.h b/platform/ios/common.h index 672ea119..dcef5b22 100644 --- a/platform/ios/common.h +++ b/platform/ios/common.h @@ -20,8 +20,8 @@ int search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie); fz_rect search_result_bbox(fz_document *doc, int i); -CGDataProviderRef wrapPixmap(fz_pixmap *pix); +CGDataProviderRef CreateWrappedPixmap(fz_pixmap *pix); -CGImageRef newCGImageWithPixmap(fz_pixmap *pix, CGDataProviderRef cgdata); +CGImageRef CreateCGImageWithPixmap(fz_pixmap *pix, CGDataProviderRef cgdata); #endif |