commit | 58da81d98748892fcbe9eeb71e7ca5c1b0e4b68b | [log] [tgz] |
---|---|---|
author | Ting-Yuan Huang <laszio@google.com> | Tue Nov 15 16:27:03 2016 -0800 |
committer | Ting-Yuan Huang <laszio@google.com> | Tue Nov 15 16:27:03 2016 -0800 |
tree | 4da9042976a8f467b3aa1b7bb3904326421c82af | |
parent | 847670437bd4b11ad1d32ec65be84f39954b0a6c [diff] |
toolbox: fix memory leak free img Test: make WITH_TIDY=1 mmma system/core/toolbox Change-Id: I2f8feff0eddca763ee4e7fc9867480af60c8a911
diff --git a/toolbox/newfs_msdos.c b/toolbox/newfs_msdos.c index 27ea9e8..d7047e2 100644 --- a/toolbox/newfs_msdos.c +++ b/toolbox/newfs_msdos.c
@@ -741,6 +741,7 @@ exit(1); } } + free(img); } return 0; }