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

Commit 7ab9c381 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "bootable/recovery: cleanup compiler warnings (potential leak of memory)"

parents 389a2919 8b640ffa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -198,6 +198,7 @@ unsigned char* ReadZip(const char* filename,
  if (fread(img, 1, sz, f) != sz) {
    printf("failed to read \"%s\" %s\n", filename, strerror(errno));
    fclose(f);
    free(img);
    return NULL;
  }
  fclose(f);