diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-02 19:48:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-02 19:48:45 +0000 |
commit | 517ae9d0ea44732e39af40c290c116aec99420cd (patch) | |
tree | f010848f9801b4779a3564ea2c20df7ffb78a51d /protocols/MRA | |
parent | 655324f9dab084d47263f7510288ee3938d7f2e4 (diff) |
mir_ptr<> shall be initialized by NULL by default
git-svn-id: http://svn.miranda-ng.org/main/trunk@5554 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA')
-rw-r--r-- | protocols/MRA/src/MraRTFMsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraRTFMsg.cpp b/protocols/MRA/src/MraRTFMsg.cpp index f69d080b26..fd7fa41bd9 100644 --- a/protocols/MRA/src/MraRTFMsg.cpp +++ b/protocols/MRA/src/MraRTFMsg.cpp @@ -202,7 +202,7 @@ DWORD CMraProto::MraConvertToRTFW(LPCWSTR lpwszMessage, size_t dwMessageSize, LP return ERROR_BUFFER_OVERFLOW;
}
- mir_ptr<CHAR> lpszMessage((LPSTR)mir_calloc(dwMessageSize+32));
+ ptrA lpszMessage((LPSTR)mir_calloc(dwMessageSize+32));
if (!lpszMessage)
return GetLastError();
|