summaryrefslogtreecommitdiff
path: root/memtrack
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2013-05-15 18:31:05 -0700
committerColin Cross <ccross@android.com>2013-05-15 18:31:05 -0700
commit9e962bdfec55e63c0b1016ac57e5c7dbe23e65c0 (patch)
tree823768f70b1c88b0893ea72566a9f37d80a8217e /memtrack
parent86dee4238d2c0b0fe4328efb552eee66e85f4910 (diff)
downloadextras-9e962bdfec55e63c0b1016ac57e5c7dbe23e65c0.tar.gz
libpagemap: fix reusing previous name for mappings with no name
Mappings that are not from a file do not have a name. The sscanf will read all of the fields up to the name, and then leave name untouched. This causes the previous name to be reused. Reset name to an empty string before each call to sscanf. Change-Id: Ib146732983eb074d0d4773be094efa0b672f5ed2
Diffstat (limited to 'memtrack')
0 files changed, 0 insertions, 0 deletions