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

Commit 7b985f6a authored by Jesse Zhao's avatar Jesse Zhao Committed by Sami Tolvanen
Browse files

Fix the error that free_string is not defined.

Change-Id: I7490a91ea930daaf194dad0c8b3a3357558b4770
Bug:19573713
(cherry picked from commit 7ca20d1a)
parent dd67a295
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -294,6 +294,8 @@ class BlockImageDiff(object):
      if stashed_blocks > max_stashed_blocks:
      if stashed_blocks > max_stashed_blocks:
        max_stashed_blocks = stashed_blocks
        max_stashed_blocks = stashed_blocks


      free_string = []

      if self.version == 1:
      if self.version == 1:
        src_string = xf.src_ranges.to_string_raw()
        src_string = xf.src_ranges.to_string_raw()
      elif self.version >= 2:
      elif self.version >= 2:
@@ -306,7 +308,6 @@ class BlockImageDiff(object):


        size = xf.src_ranges.size()
        size = xf.src_ranges.size()
        src_string = [str(size)]
        src_string = [str(size)]
        free_string = []


        unstashed_src_ranges = xf.src_ranges
        unstashed_src_ranges = xf.src_ranges
        mapped_stashes = []
        mapped_stashes = []