summaryrefslogtreecommitdiff
path: root/key.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-10-10 15:00:49 +1000
committerDamien Miller <djm@mindrot.org>2001-10-10 15:00:49 +1000
commitaf3030f70996be721a5152f23d5ea9a930a93b45 (patch)
tree4b29af939680edf481ea606fc552f33b92699d29 /key.c
parent7c23540fffc70f9b981db318b569ec061e79e91a (diff)
- markus@cvs.openbsd.org 2001/10/04 14:34:16
[key.c] call OPENSSL_free() for memory allocated by openssl; from chombier@mac.com
Diffstat (limited to 'key.c')
-rw-r--r--key.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/key.c b/key.c
index 5c711b9d..57df5b93 100644
--- a/key.c
+++ b/key.c
@@ -32,7 +32,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "includes.h"
-RCSID("$OpenBSD: key.c,v 1.32 2001/09/19 13:23:29 markus Exp $");
+RCSID("$OpenBSD: key.c,v 1.33 2001/10/04 14:34:16 markus Exp $");
#include <openssl/evp.h>
@@ -354,7 +354,7 @@ write_bignum(FILE *f, BIGNUM *num)
return 0;
}
fprintf(f, " %s", buf);
- xfree(buf);
+ OPENSSL_free(buf);
return 1;
}