summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_avatars.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-03-06 10:23:10 +0000
committerRobert Pösel <robyer@seznam.cz>2015-03-06 10:23:10 +0000
commit224d0671bfbfccb2883313183a51f86fdf967745 (patch)
tree5820558020988df3604f4783e1e8541560807fb5 /protocols/Steam/src/steam_avatars.cpp
parent16316a39e4efcf00cb98fd078377a78ee9e267a8 (diff)
Steam: Rework PushRequests and related methods (more improvements for commit r12325)
To properly free arguments and also requests and QueueItems itself and also do small other fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@12349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_avatars.cpp')
-rw-r--r--protocols/Steam/src/steam_avatars.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_avatars.cpp b/protocols/Steam/src/steam_avatars.cpp
index 22b80f1f26..b0d2cb0bbc 100644
--- a/protocols/Steam/src/steam_avatars.cpp
+++ b/protocols/Steam/src/steam_avatars.cpp
@@ -81,7 +81,8 @@ INT_PTR CSteamProto::GetAvatarInfo(WPARAM wParam, LPARAM lParam)
PushRequest(
new SteamWebApi::GetAvatarRequest(avatarUrl),
&CSteamProto::OnGotAvatar,
- (void*)pai->hContact);
+ (void*)pai->hContact,
+ ARG_NO_FREE);
return GAIR_WAITFOR;
}