From cc5b9e03d48177aeeafdf9d5bd9e51f7963eae56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sat, 22 Nov 2014 13:04:04 +0000 Subject: 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 --- protocols/Steam/src/steam_messages.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'protocols/Steam/src/steam_messages.cpp') 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); -- cgit v1.2.3