diff options
author | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-02-19 03:37:56 +0300 |
---|---|---|
committer | Spec-Chum <spec-chum@users.sourceforge.net> | 2010-02-19 03:37:56 +0300 |
commit | 20378121845e0aeae82ebe8973174bea4458b328 (patch) | |
tree | 431d44cf50064d0df14cea6a8466e35a9562275a /src/apps/mplayerc/mplayerc.cpp | |
parent | 321a14e5c96f9edae64bba9f97002431d155ab9f (diff) |
Fixed mismatching allocation and deallocation
Removed some unused code
Changed more C-Style casts to static_cast
Added SSE2 version of safe_subtract for X64 builds
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1678 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/mplayerc.cpp')
-rw-r--r-- | src/apps/mplayerc/mplayerc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/mplayerc/mplayerc.cpp b/src/apps/mplayerc/mplayerc.cpp index 044a845b5..fee0f564c 100644 --- a/src/apps/mplayerc/mplayerc.cpp +++ b/src/apps/mplayerc/mplayerc.cpp @@ -1008,7 +1008,7 @@ UINT CMPlayerCApp::GetRemoteControlCodeMicrosoft(UINT nInputcode, HRAWINPUT hRaw nMceCmd = 0x10000 + (raw->data.hid.bRawData[1] | raw->data.hid.bRawData[2] << 8);
}
}
- delete pRawBuffer;
+ delete [] pRawBuffer;
}
return nMceCmd;
@@ -1047,7 +1047,7 @@ UINT CMPlayerCApp::GetRemoteControlCodeSRM7500(UINT nInputcode, HRAWINPUT hRawIn }
}
}
- delete pRawBuffer;
+ delete [] pRawBuffer;
}
return nMceCmd;
|