free null cleanup finale
[openssl.git] / crypto / err / err.c
index ec7da22e5bbad3c97bfe82c0623dbd2624817716..9d58f38144271b9e97c6bf0c72a400db54e0d32f 100644 (file)
@@ -478,8 +478,7 @@ static void build_SYS_str_reasons(void)
 
 #define err_clear_data(p,i) \
         do { \
-        if (((p)->err_data[i] != NULL) && \
-                (p)->err_data_flags[i] & ERR_TXT_MALLOCED) \
+        if ((p)->err_data_flags[i] & ERR_TXT_MALLOCED) \
                 {  \
                 OPENSSL_free((p)->err_data[i]); \
                 (p)->err_data[i]=NULL; \