commit | ac18460d21c1d7a4990ea0e335ac9add94028544 | [log] [tgz] |
---|---|---|
author | Sushil Chauhan <sushilchauhan@codeaurora.org> | Fri Feb 14 11:49:47 2014 -0800 |
committer | Sushil Chauhan <sushilchauhan@codeaurora.org> | Fri Feb 14 15:38:17 2014 -0800 |
tree | ac22048f4a228486732576fd52c354d4c84f869e | |
parent | 328524fbb4c7dff086a2815727b954374549a116 [diff] |
qdutils: Pre-allocate initial buffer for getline(). Some frameworks override malloc() and free() but not getline(). Pre-allocating the buffer avoids heap mismatch on free(). Change-Id: I9bd934f701ad7dbc10ec2aa21967e2a626c496f4