]> git.cworth.org Git - apitrace/blobdiff - common/trace_model.cpp
Correctly copy "out" arguments to the "leave" portion of the trace
[apitrace] / common / trace_model.cpp
index e05ca276cf59dedc2f1496a329f8b2ce01501117..7e926ba46db70e65c5e8ee1a732f7ce9dcde784e 100644 (file)
@@ -32,7 +32,7 @@ namespace trace {
 
 Call::~Call() {
     for (unsigned i = 0; i < args.size(); ++i) {
-        delete args[i];
+        delete args[i].value;
     }
 
     if (ret) {