Root cause discovered and fixed, this fix became unnecessary
authorMouse <mouse008@gmail.com>
Tue, 12 Jan 2016 14:09:48 +0000 (09:09 -0500)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Jan 2016 00:23:34 +0000 (01:23 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/ex_data.c

index 25e79dc2aa7bbdf3649516bf6f19858824be95cc..f96a51781ab065549a42dc8ece88aeaf551e836d 100644 (file)
@@ -522,9 +522,8 @@ static void int_free_ex_data(int class_index, void *obj, CRYPTO_EX_DATA *ad)
     for (i = 0; i < mx; i++) {
         if (storage[i] && storage[i]->free_func) {
             ptr = CRYPTO_get_ex_data(ad, i);
-           if (ptr)
-               storage[i]->free_func(obj, ptr, ad, i,
-                                      storage[i]->argl, storage[i]->argp);
+            storage[i]->free_func(obj, ptr, ad, i,
+                                  storage[i]->argl, storage[i]->argp);
         }
     }
     if (storage)