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/json.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/json.h') diff --git a/protocols/FacebookRM/src/json.h b/protocols/FacebookRM/src/json.h index c49ef65193..b900487e36 100644 --- a/protocols/FacebookRM/src/json.h +++ b/protocols/FacebookRM/src/json.h @@ -33,9 +33,9 @@ public: int parse_buddy_list(std::string*, List::List< facebook_user >*); int parse_friends(std::string*, std::map< std::string, facebook_user* >*); int parse_notifications(std::string*, std::map< std::string, facebook_notification* >*); - int parse_messages(std::string*, std::vector< facebook_message* >*, std::map< std::string, facebook_notification* >*); + int parse_messages(std::string*, std::vector< facebook_message >*, std::map< std::string, facebook_notification* >*); int parse_unread_threads(std::string*, std::vector< std::string >*); - int parse_thread_messages(std::string*, std::vector< facebook_message* >*, std::map< std::string, facebook_chatroom* >*, bool unreadOnly); + int parse_thread_messages(std::string*, std::vector< facebook_message >*, std::map< std::string, facebook_chatroom* >*, bool unreadOnly); int parse_thread_info(std::string* data, std::string* user_id); int parse_user_info(std::string* data, facebook_user* fbu); int parse_chat_info(std::string* data, facebook_chatroom* fbc); -- cgit v1.2.3