From 79030d54a0f7f1cc1556ae1d34e3ce4b730ecc77 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 May 2016 16:19:44 +0000 Subject: - 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 --- protocols/FacebookRM/src/proto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src/proto.h') 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 messages, bool check_duplicates = false); + void ReceiveMessages(std::vector &messages, bool check_duplicates = false); void LoadChatInfo(facebook_chatroom* fbc); void LoadParticipantsNames(facebook_chatroom *fbc); -- cgit v1.2.3