]> git.cworth.org Git - apitrace/blobdiff - common/trace_model.cpp
Allow float-based attrib_lists as found in WGL.
[apitrace] / common / trace_model.cpp
index 86527a1f900f59959691ca740656199c417b5280..2c0fafaabbc6e81240d95eba251ebe9a9a434abf 100644 (file)
@@ -72,6 +72,18 @@ Blob::~Blob() {
     }
 }
 
+StackFrame::~StackFrame() {
+    if (module != NULL) {
+        delete [] module;
+    }
+    if (function != NULL) {
+        delete [] function;
+    }
+    if (filename != NULL) {
+        delete [] filename;
+    }
+}
+
 
 // bool cast
 bool Null   ::toBool(void) const { return false; }
@@ -191,6 +203,8 @@ void Visitor::visit(Array *) { assert(0); }
 void Visitor::visit(Blob *) { assert(0); }
 void Visitor::visit(Pointer *) { assert(0); }
 void Visitor::visit(Repr *node) { node->machineValue->visit(*this); }
+void Visitor::visit(Backtrace *) { assert(0); }
+void Visitor::visit(StackFrame *) { assert(0); }
 
 
 static Null null;