commit | d56763fd33321cb3d0f17804abecb379cea78c01 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@foxmail.com> | Thu Sep 01 04:53:59 2011 +0000 |
committer | Zhongxing Xu <xuzhongxing@foxmail.com> | Thu Sep 01 04:53:59 2011 +0000 |
tree | e238eea6b73a60ebffd0605e5378d8ea5c697ff8 | |
parent | fa77cbab63436aeb528099e0734599c117f7c80a [diff] |
If size was equal to 0, either NULL or a pointer suitable to be passed to free() is returned by realloc(). Most code expect NULL. And we only need to transfer one final ProgramState. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138937 91177308-0d34-0410-b5e6-96231b3b80d8