commit | 38e7338d92f22a02be6e782e1332091c6c02e25a | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Jun 05 23:29:10 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jun 05 23:29:10 2018 +0000 |
tree | 7bc7683dbe090f78d0b4676d7c609a8a16ba63a4 | |
parent | e72aecb6559af378da6fa0c18c60898156aa03bc [diff] | |
parent | 9fb8177ca5afef7e6becf897f04a42de8dd7db5b [diff] |
Merge "Fix a 'memory leak'"
diff --git a/tools/incident_report/main.cpp b/tools/incident_report/main.cpp index 1d8809f6..4b67a3e98 100644 --- a/tools/incident_report/main.cpp +++ b/tools/incident_report/main.cpp
@@ -529,6 +529,7 @@ args[argpos++] = NULL; execvp(args[0], (char*const*)args); fprintf(stderr, "execvp failed: %s\n", strerror(errno)); + free(args); return 0; } else { // parent