]> git.cworth.org Git - apitrace/blobdiff - dump.cpp
Remove spurious tag in snapdiff output.
[apitrace] / dump.cpp
index 5cd28a5f2426a9dfbfaa1718248e07bfa8066713..22f62e3692c5ce45857b86df235615dd99db9f49 100644 (file)
--- a/dump.cpp
+++ b/dump.cpp
  **************************************************************************/
 
 
+/*
+ * Simple utility to dump a trace to standard output.
+ */
+
+
 #include "trace_parser.hpp"
 
 
@@ -36,6 +41,7 @@ int main(int argc, char **argv)
             call = p.parse_call();
             while (call) {
                 std::cout << *call;
+                delete call;
                 call = p.parse_call();
             }
         }