Android 4.0.1 release 1.1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk7vtnsACgkQ6K0/gZqxDniBxwCfVr2niBnTW0AECJin/NIc3eny
dEwAn2eHJ+BsVt8c7IgbPANibyrPevj/
=tlzT
-----END PGP SIGNATURE-----
Fix cleanup
(cherry-picked from ics-mr1)

The code was attempting to null out a struct member after freeing
the struct.

Also, changed the order of directory permission tests so that
writable comes first.  Somehow "dalvik-cache directory not
writable" seems more direct than "not readable", since the code
isn't generally interested in reading the directory.

Bug 5549907

Change-Id: If737ab822b356aae98e47292d21946e33a04342b
1 file changed