Changing ArrayStoreAll's constructor to delay allocation until it is done checking...
authorTim King <taking@google.com>
Mon, 7 Nov 2016 19:44:52 +0000 (11:44 -0800)
committerTim King <taking@google.com>
Mon, 7 Nov 2016 19:44:52 +0000 (11:44 -0800)
commitd9608e29789960cd50704689d39e9a35d01be321
tree1a73c1293d21ef9ba9d0337d9ed276ffe6cea5ae
parent6e61a7ad085774c222afa9ffcd2602b827883556
Changing ArrayStoreAll's constructor to delay allocation until it is done checking error conditions. This prevents a memory leak in exception throwing branches.
src/expr/array_store_all.cpp
test/unit/util/array_store_all_black.h