Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Konstantinos K
2016-03-25 12:47:52 +0200
Commit
09556f2d212d13e202cdb35d79bf1ca5002864a8
2 parents
16e1862a
974141f5
Merge pull request #1464 from Brain89/fixDecodedImageWithImage(1423)
[fix] Issue #1423
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
SDWebImage/SDWebImageDecoder.m
SDWebImage/SDWebImageDecoder.m
View file @
09556f2
...
...
@@ -19,6 +19,11 @@
// when there are memory warning.
// on iOS7, do not forget to call
// [[SDImageCache sharedImageCache] clearMemory];
if
(
image
==
nil
)
{
// Prevent "CGBitmapContextCreateImage: invalid context 0x0" error
return
nil
;
}
@autoreleasepool
{
// do not decode animated images
if
(
image
.
images
)
{
return
image
;
}
...
...
Please
register
or
login
to post a comment