get rid off seg. fault in functionality tests.
authorMarcel Poul <marcel.poul@cern.ch>
Sat, 7 Apr 2012 12:20:07 +0000 (12:20 +0000)
committerMarcel Poul <marcel.poul@cern.ch>
Sat, 7 Apr 2012 12:20:07 +0000 (12:20 +0000)
emi.canl.canl-c/examples/delegation.c

index c3f5c3b..f80ed28 100644 (file)
@@ -192,13 +192,13 @@ main(int argc, char *argv[])
 end:
     if (signer)
        canl_cred_free(ctx, signer);
-    if (proxy)
+/*    if (proxy)
        canl_cred_free(ctx, proxy);
     if (proxy_cert)
        canl_cred_free(ctx, proxy_cert);
     if (proxy_bob)
        canl_cred_free(ctx, proxy_bob);
-    if (req)
+*/    if (req)
        X509_REQ_free(req);
     if (x509_cert)
        X509_free(x509_cert);