]> git.cworth.org Git - apitrace/blobdiff - dump.cpp
Fix max texture units computation.
[apitrace] / dump.cpp
index 5e85195c570cdecb5247bf197d70068775455614..22f62e3692c5ce45857b86df235615dd99db9f49 100644 (file)
--- a/dump.cpp
+++ b/dump.cpp
@@ -41,6 +41,7 @@ int main(int argc, char **argv)
             call = p.parse_call();
             while (call) {
                 std::cout << *call;
+                delete call;
                 call = p.parse_call();
             }
         }