summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/json.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/json.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/json.h')
-rw-r--r--protocols/FacebookRM/src/json.h4
1 files changed, 2 insertions, 2 deletions
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);