File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,6 @@ def mk_zips():
263
263
def cp_vs_runtime (x64 ):
264
264
if x64 :
265
265
platform = "x64"
266
-
267
266
else :
268
267
platform = "x86"
269
268
vcdir = os .environ ['VCINSTALLDIR' ]
Original file line number Diff line number Diff line change @@ -2184,10 +2184,16 @@ namespace polynomial {
2184
2184
}
2185
2185
2186
2186
~som_buffer_vector () {
2187
+ clear ();
2188
+ }
2189
+
2190
+ void clear () {
2191
+ reset ();
2187
2192
unsigned sz = m_buffers.size ();
2188
2193
for (unsigned i = 0 ; i < sz; i++) {
2189
2194
dealloc (m_buffers[i]);
2190
2195
}
2196
+ m_buffers.reset ();
2191
2197
}
2192
2198
2193
2199
void set_owner (imp * owner) {
@@ -2372,11 +2378,14 @@ namespace polynomial {
2372
2378
m_polynomials.reset ();
2373
2379
});
2374
2380
SASSERT (m_polynomials.empty ());
2381
+ m_iccp_ZpX_buffers.clear ();
2375
2382
m_monomial_manager->dec_ref ();
2376
2383
}
2377
2384
2378
2385
void checkpoint () {
2379
2386
if (!m_limit.inc ()) {
2387
+ m_som_buffer.reset ();
2388
+ m_som_buffer2.reset ();
2380
2389
throw polynomial_exception (Z3_CANCELED_MSG);
2381
2390
}
2382
2391
}
You can’t perform that action at this time.
0 commit comments