commit | 8d0531e9748aa5e4860d3b52c6b0c88cea52f8bd | [log] [tgz] |
---|---|---|
author | Shawn Willden <swillden@google.com> | Tue Jun 17 11:45:07 2014 -0600 |
committer | Shawn Willden <swillden@google.com> | Tue Jun 17 11:45:07 2014 -0600 |
tree | d156583a7f9a3b0f93d198b69edc2e16e3c700dd | |
parent | f7386706a1d92eefdc02f359aa46cfe33f2d158a [diff] |
Make usage of new/delete and malloc/free consistent. All buffers returned to the caller should be allocated with malloc, since the caller assumes it's calling a C API. Internally, stuff allocated with new should be freed with delete, and so on. Change-Id: Ie08d910b9f6ebee38dc39127310e695453d1256f