Plug memory leak.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20814 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-03 03:39:49 +00:00
parent f57ad3e8e7
commit a7ea4ab003

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2006 Kungliga Tekniska H<>gskolan * Copyright (c) 2006 - 2007 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@@ -249,6 +249,7 @@ test_BN_uadd(void)
free(p); free(p);
return 1; return 1;
} }
free(p);
BN_uadd(c, a, b); BN_uadd(c, a, b);
p = BN_bn2hex(c); p = BN_bn2hex(c);
@@ -256,7 +257,6 @@ test_BN_uadd(void)
free(p); free(p);
return 1; return 1;
} }
free(p); free(p);
BN_free(a); BN_free(a);