Loading client/client.cpp +0 −22 Changes for client/client.cpp: 0 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -184,11 +184,6 @@ bool authdb::client::Client::UserAuth(){ resp.push_back('\0'); json_object_put(jresponse); json_object_put(cmd); json_object_put(login); json_object_put(userauth); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -251,12 +246,6 @@ void authdb::client::Client::SessionInfo(class SessionData& sdat){ resp.push_back('\0'); // FIX: Release request objects json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object_put(sinfo); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -322,11 +311,6 @@ bool authdb::client::Client::remSession(){ resp.push_back('\0'); // FIX: Release request objects json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -390,12 +374,6 @@ void authdb::client::Client::changeUserPw(const std::string& oldpw,const std::st std::vector<char> resp(_Con._Client->Post(nreq,out)); resp.push_back('\0'); // FIX: Release request objects (jresponse was missing, others fixed) json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object_put(pchange); } void authdb::client::Client::getAvatar(const ::uuid::uuid &did,const ::uuid::uuid& uid,libhttppp::HttpRequest &resq,libhttppp::HttpResponse& resp){ Loading Loading
client/client.cpp +0 −22 Changes for client/client.cpp: 0 added lines, 22 removed lines. Original line number Diff line number Diff line Loading @@ -184,11 +184,6 @@ bool authdb::client::Client::UserAuth(){ resp.push_back('\0'); json_object_put(jresponse); json_object_put(cmd); json_object_put(login); json_object_put(userauth); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -251,12 +246,6 @@ void authdb::client::Client::SessionInfo(class SessionData& sdat){ resp.push_back('\0'); // FIX: Release request objects json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object_put(sinfo); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -322,11 +311,6 @@ bool authdb::client::Client::remSession(){ resp.push_back('\0'); // FIX: Release request objects json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object *jrequest; json_tokener*jtok=json_tokener_new(); Loading Loading @@ -390,12 +374,6 @@ void authdb::client::Client::changeUserPw(const std::string& oldpw,const std::st std::vector<char> resp(_Con._Client->Post(nreq,out)); resp.push_back('\0'); // FIX: Release request objects (jresponse was missing, others fixed) json_object_put(jresponse); json_object_put(cmd); json_object_put(obj); json_object_put(pchange); } void authdb::client::Client::getAvatar(const ::uuid::uuid &did,const ::uuid::uuid& uid,libhttppp::HttpRequest &resq,libhttppp::HttpResponse& resp){ Loading