diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-09-29 12:22:25 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-09-29 12:22:25 +0000 |
commit | 4a80fff5bf8d7868735fc3df97fa0d2bdbc59262 (patch) | |
tree | bd051b73c8301424c0c4842b082e95f4630d3596 /protocols/FacebookRM/src | |
parent | 435046bc3c47635fddd6896d2d8614c3e668f969 (diff) |
Facebook: small memory leak fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r-- | protocols/FacebookRM/src/messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 09b3b14ce8..7c36767524 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -60,7 +60,7 @@ void FacebookProto::SendMsgWorker(void *p) ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_SUCCESS, data->msgid, 0);
CallService(MS_MSG_SETSTATUSTEXT, (WPARAM)data->hContact, NULL);
} else {
- char *err = mir_utf8decodeA(error_text.c_str());
+ ptrA err( mir_utf8decodeA(error_text.c_str()));
ProtoBroadcastAck(data->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, data->msgid, (LPARAM)err);
}
db_free(&dbv);
|