]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
neater.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 Sep 2008 14:56:46 +0000 (14:56 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 11 Sep 2008 14:56:46 +0000 (14:56 +0000)
git-svn-id: file:///svn/unbound/trunk@1232 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/remote.c

index 45054bb4190340257c2b93b8b50a4cdbc3e58ad2..714ae0108577c031367507a8a13d948494968196 100644 (file)
@@ -147,7 +147,9 @@ void daemon_remote_delete(struct daemon_remote* rc)
                free(p);
                p = np;
        }
-       SSL_CTX_free(rc->ctx);
+       if(rc->ctx) {
+               SSL_CTX_free(rc->ctx);
+       }
        free(rc);
 }