From 0190d3229eae34a92b3df0404228d5ed13e4327e Mon Sep 17 00:00:00 2001 From: Loudrob Date: Sun, 23 Aug 2015 19:05:27 -0400 Subject: [PATCH] We can delete this. --- build/src/stride.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/src/stride.cxx b/build/src/stride.cxx index 7db6fa41..861e842d 100644 --- a/build/src/stride.cxx +++ b/build/src/stride.cxx @@ -81,6 +81,8 @@ int niraicall_onLoadGameData() for (int i = 0; i < key_and_iv_size; ++i) key[i] = deckeyandiv[i + key_and_iv_size]; + delete[] deckeyandiv; + // Decrypt the game data std::string rawdata = brawdata.substr((key_and_iv_size * 2) + key_and_iv_size); unsigned char* decrypted_data = new unsigned char[rawdata.size()];