diff options
author | George Burgess IV <gbiv@google.com> | 2018-06-05 19:56:22 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-06-05 19:56:22 -0700 |
commit | 02bf04ac0126149da105159cfa41aaf2bfc0cf5f (patch) | |
tree | 8018397a38a659cf09a4308cdb0465ef54c7769f /tools/incident_report | |
parent | 3b09f97552593ca1f4404164a4c89ff23bede82c (diff) | |
parent | bc49cb846073b0ac87ec423af8bfbb93de52a302 (diff) |
Merge "Fix a 'memory leak'" am: 38e7338d92
am: bc49cb8460
Change-Id: I3ecf0ecdf20bb61bda76fff547f920040ded47d6
Diffstat (limited to 'tools/incident_report')
-rw-r--r-- | tools/incident_report/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/incident_report/main.cpp b/tools/incident_report/main.cpp index 302d7395f3e4..be33afcf0f38 100644 --- a/tools/incident_report/main.cpp +++ b/tools/incident_report/main.cpp @@ -549,6 +549,7 @@ main(int argc, char** argv) args[argpos++] = NULL; execvp(args[0], (char*const*)args); fprintf(stderr, "execvp failed: %s\n", strerror(errno)); + free(args); return 0; } else { // parent |