Oops. Missing NULL frees.
[openssl.git] / crypto / lhash / lhash.c
index c8c29a8d305d1806423a16c8edb85adc9241a2bd..73d5fdc45ea1bebc612c955d3e22d2bb1932f143 100644 (file)
@@ -176,6 +176,9 @@ LHASH *lh;
        unsigned int i;
        LHASH_NODE *n,*nn;
 
+       if(lh == NULL)
+           return;
+
        for (i=0; i<lh->num_nodes; i++)
                {
                n=lh->b[i];