commit | a3326ade5d90a747b549a209519331816243d800 | [log] [tgz] |
---|---|---|
author | Chris Fries <cfries@google.com> | Thu Apr 20 16:23:07 2017 -0500 |
committer | SzuWei Lin <szuweilin@google.com> | Fri Apr 21 11:11:23 2017 +0800 |
tree | 23d81cadd0e686e4101ecbed79b738ed7c7bfb51 | |
parent | 094c7b47091908698af44073ac5aaa7e89ae6027 [diff] |
libufdt: avoid to strdup() if possible Memory allocation is slow in some platform. Uses stack to avoid malloc/free if possible. Also removed dto_strdup(). Doesn't need to implement it anymore. Bug: 32969430 Test: ./tests/run_tests.sh Change-Id: I68eae8fcf05e722089879ba3e95c55b136bb31ed