Skip to content

Commit

Permalink
Use "delete[]" instead of "delete".
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Jan 5, 2025
1 parent 4cb9b34 commit 66e978d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythbackend/mythbackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ int main(int argc, char **argv)
int rc = execvp(newargv[0], newargv);
LOG(VB_GENERAL, LOG_ERR,
QString("execvp failed prog %1 rc=%2 errno=%3").arg(argv[0]).arg(rc).arg(errno));
delete newargv;
delete[] newargv;
}
return retval;
}
Expand Down

0 comments on commit 66e978d

Please sign in to comment.