Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9e16c98 authored by Chong Zhang's avatar Chong Zhang Committed by android-build-merger
Browse files

Merge "mtp: fix double free of thumbnail data" into nyc-dev

am: 914bc14e

Change-Id: I9f8e2264e93590de4179ee5c6ab30c7509e775f5
parents 832890f6 914bc14e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -948,6 +948,7 @@ void* MyMtpDatabase::getThumbnail(MtpObjectHandle handle, size_t& outThumbSize)
                        outThumbSize = image_data.thumbnail.length;
                    } else {
                        free(result);
                        result = NULL;
                    }
                }
                break;