commit | 0307768305a87dd94f1b02d36ad2f53e3041bdaf | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Thu Aug 30 14:11:00 2018 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Thu Aug 30 14:11:00 2018 -0700 |
tree | 2c1358d093500e82d6b6037766b8d3627501b653 | |
parent | 4eeaffe5ee9e806fa56dce69657ea30c11e0fbad [diff] |
Fix potential memory leak. * Do not reset caller's *param to NULL when realloc fails. The caller will free *param. Test: build with WITH_TIDY=1 Change-Id: Iadd800b77fea4ea423d440e6e97e4dfc00c09fcd