artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec5f3d
)
ASN1_OBJECTs should be freed with ASN1_OBJECT_free(3), not with free(3).
author
tb
<tb@openbsd.org>
Sat, 8 Sep 2018 13:49:26 +0000
(13:49 +0000)
committer
tb
<tb@openbsd.org>
Sat, 8 Sep 2018 13:49:26 +0000
(13:49 +0000)
ok inoguchi, jsing
lib/libcrypto/objects/obj_dat.c
patch
|
blob
|
history
diff --git
a/lib/libcrypto/objects/obj_dat.c
b/lib/libcrypto/objects/obj_dat.c
index
cb6de90
..
6c50aa9
100644
(file)
--- a/
lib/libcrypto/objects/obj_dat.c
+++ b/
lib/libcrypto/objects/obj_dat.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: obj_dat.c,v 1.4
0 2018/09/08 10:31:24
tb Exp $ */
+/* $OpenBSD: obj_dat.c,v 1.4
1 2018/09/08 13:49:26
tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@
-333,7
+333,7
@@
OBJ_add_object(const ASN1_OBJECT *obj)
err:
for (i = ADDED_DATA; i <= ADDED_NID; i++)
free(ao[i]);
- free(o);
+
ASN1_OBJECT_
free(o);
return (NID_undef);
}