summaryrefslogtreecommitdiffstats
path: root/ossl_x509req.c
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-06-12 22:10:32 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-06-12 22:10:32 +0000
commitf146e53f6c32c41646bd79103e66a114d8712742 (patch)
tree88dcead0103fb38e3ba94d731d32dc699f6532b5 /ossl_x509req.c
parent3d7ebaa8b49b1eba3e39cf044a7a416ac59b211f (diff)
downloadruby-openssl-history-f146e53f6c32c41646bd79103e66a114d8712742.tar.gz
Fixed some checks for retval and some mem.leaks
Diffstat (limited to 'ossl_x509req.c')
-rw-r--r--ossl_x509req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ossl_x509req.c b/ossl_x509req.c
index 1e70fce..2f47543 100644
--- a/ossl_x509req.c
+++ b/ossl_x509req.c
@@ -364,7 +364,7 @@ ossl_x509req_set_attributes(VALUE self, VALUE ary)
static VALUE
ossl_x509req_add_attribute(VALUE self, VALUE attr)
{
- X509_REQ *req = NULL;
+ X509_REQ *req;
GetX509Req(self, req);