projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a39d025
)
Guarding the destruction of the a linux specific variable on WIN32.
author
Tim King
<taking@google.com>
Sat, 28 Nov 2015 05:28:43 +0000
(
00:28
-0500)
committer
Tim King
<taking@google.com>
Wed, 2 Dec 2015 05:00:02 +0000
(
00:00
-0500)
src/main/util.cpp
patch
|
blob
|
history
diff --git
a/src/main/util.cpp
b/src/main/util.cpp
index 9278024960e9a6836483e320240e821ee9bf8649..f0cab25fab845304204b0fb7d462c0c8df644f00 100644
(file)
--- a/
src/main/util.cpp
+++ b/
src/main/util.cpp
@@
-290,9
+290,11
@@
void cvc4_init() throw(Exception) {
}
void cvc4_shutdown() throw () {
+#ifndef __WIN32__
free(cvc4StackBase);
cvc4StackBase = NULL;
cvc4StackSize = 0;
+#endif /* __WIN32__ */
}
}/* CVC4::main namespace */