summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-05-13 16:19:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-05-13 16:19:44 +0000
commit79030d54a0f7f1cc1556ae1d34e3ce4b730ecc77 (patch)
treefa235efeec2f3d11fef169c1b67368508e6c84c4 /protocols/FacebookRM/src/proto.h
parent2257c9ecd7d0bf1af7c7421c443a3e57a10fc181 (diff)
- memory leak fixed;
- manual memory management replaced with the automated one git-svn-id: http://svn.miranda-ng.org/main/trunk@16822 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index fa2b1788a5..ad88a916cd 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -214,7 +214,7 @@ public:
void AddChatContact(const char *chat_id, const char *id, const char *name);
void RemoveChatContact(const char *chat_id, const char *id, const char *name);
char *GetChatUsers(const char *chat_id);
- void ReceiveMessages(std::vector<facebook_message*> messages, bool check_duplicates = false);
+ void ReceiveMessages(std::vector<facebook_message> &messages, bool check_duplicates = false);
void LoadChatInfo(facebook_chatroom* fbc);
void LoadParticipantsNames(facebook_chatroom *fbc);