summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-11-22 13:04:04 +0000
committerRobert Pösel <robyer@seznam.cz>2014-11-22 13:04:04 +0000
commitcc5b9e03d48177aeeafdf9d5bd9e51f7963eae56 (patch)
tree805e12af528ff64b8f4352fde98fd80bd5ab017b /protocols/Steam/src/steam_messages.cpp
parent711e4a64f417864c7b7716def8d78fc4a0646230 (diff)
Steam: Fix json memleaks all over code; version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@11037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_messages.cpp')
-rw-r--r--protocols/Steam/src/steam_messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_messages.cpp b/protocols/Steam/src/steam_messages.cpp
index 5ae78e726c..9cd76f3b0f 100644
--- a/protocols/Steam/src/steam_messages.cpp
+++ b/protocols/Steam/src/steam_messages.cpp
@@ -31,6 +31,8 @@ void CSteamProto::OnMessageSent(const NETLIBHTTPREQUEST *response, void *arg)
result = true;
else
debugLogA("CSteamProto::OnMessageSent: failed to send message for %s (%s)", steamId, error);
+
+ json_delete(root);
}
else
debugLogA("CSteamProto::OnMessageSent: failed to send message for %s", steamId);