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

Commit ca1f8f6d authored by Mike Lockwood's avatar Mike Lockwood Committed by Android Git Automerger
Browse files

am c4367721: MTP: Fix getThumbnail

* commit 'c4367721':
  MTP: Fix getThumbnail
parents 89a086c1 c4367721
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -849,6 +849,7 @@ void* MyMtpDatabase::getThumbnail(MtpObjectHandle handle, size_t& outThumbSize)
                result = malloc(exifdata->size);
                if (result) {
                    memcpy(result, exifdata->data, exifdata->size);
                    outThumbSize = exifdata->size;
                }
            }
            exif_data_unref(exifdata);