aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoritz Schulte <[email protected]>2004-07-27 10:43:32 +0000
committerMoritz Schulte <[email protected]>2004-07-27 10:43:32 +0000
commit65ef39ec8d6da9badea24361ffb48140283502ff (patch)
tree0ad6b3d0dbf392bfa34967a8f8af2ef4c97ec599
parent2004-07-27 Moritz Schulte <[email protected]> (diff)
downloadgnupg-65ef39ec8d6da9badea24361ffb48140283502ff.tar.gz
gnupg-65ef39ec8d6da9badea24361ffb48140283502ff.zip
Last commit was incomplete
-rw-r--r--agent/command-ssh.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c
index 8195b9038..44da7ac26 100644
--- a/agent/command-ssh.c
+++ b/agent/command-ssh.c
@@ -403,9 +403,7 @@ gpg_stream_read_file (const char *filename,
*buffer_n = buffer_new_n;
}
else
- {
- free (buffer_new);
- }
+ gcry_free (buffer_new);
return err;
}
@@ -705,10 +703,7 @@ ssh_convert_key_to_blob (unsigned char **blob, size_t *blob_size,
*blob_size = blob_new_size;
}
else
- {
- if (blob_new)
- free (blob_new);
- }
+ gcry_free (blob_new);
return err;
}