main: Resolve memory leak

I forgot to free the file buffer once I was done with it.

Delete it and avoid a memory leak.
This commit is contained in:
lat9nq 2024-02-10 17:22:47 -05:00
parent 80994fc409
commit f479989903

View File

@ -122,6 +122,8 @@ int main(int argc, char *argv[]) {
return -1;
}
delete[] buf;
std::vector<u_int8_t> output_buffer;
tzif_data->ReformatNintendo(output_buffer);