Skip to content

Commit

Permalink
steam-crypt: fixed gcrypt memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeboski committed Aug 19, 2015
1 parent fd6f9d6 commit 757f9d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions steam/steam-crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ GByteArray *steam_crypt_rsa_enc(const GByteArray *mod, const GByteArray *exp,
if (G_UNLIKELY(res != 0))
goto finish;

gcry_sexp_release(data);
data = gcry_sexp_find_token(cata, "a", 0);

if (G_UNLIKELY(data == NULL)) {
Expand Down

0 comments on commit 757f9d4

Please sign in to comment.