IMG_ImageIO.m
changeset 283 ec183abd5996
parent 279 e2fa9ff13b5d
child 292 5953114c0d27
     1.1 --- a/IMG_ImageIO.m	Sat Dec 31 12:36:11 2011 -0500
     1.2 +++ b/IMG_ImageIO.m	Sat Dec 31 12:38:49 2011 -0500
     1.3 @@ -109,6 +109,7 @@
     1.4      // Get the CGImageSourceRef.
     1.5      // The dictionary can be NULL or contain hints to help ImageIO figure out the image type.
     1.6      source_ref = CGImageSourceCreateWithDataProvider(data_provider, hints_and_options);
     1.7 +    CGDataProviderRelease(data_provider);
     1.8      return source_ref;
     1.9  }
    1.10