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

Commit e3ac25eb 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 am:...

Merge "mtp: fix double free of thumbnail data" into nyc-dev am: 914bc14e am: f9e16c98 am: 396487f5 am: 53303352
am: db258ebb

Change-Id: Ic9821f05d30a57fad1567e834804cec6ff5dca97
parents 44cd5b97 db258ebb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -949,6 +949,7 @@ void* MyMtpDatabase::getThumbnail(MtpObjectHandle handle, size_t& outThumbSize)
                        outThumbSize = image_data.thumbnail.length;
                    } else {
                        free(result);
                        result = NULL;
                    }
                }
                break;