free NULL cleanup -- coda
[openssl.git] / crypto / pqueue / pqueue.c
index a4af9f99504e6b1edb9b58f997bf7fa1e0f929ca..725fe3874f7491e0802a865396eafa8bfe937232 100644 (file)
@@ -82,9 +82,6 @@ pitem *pitem_new(unsigned char *prio64be, void *data)
 
 void pitem_free(pitem *item)
 {
-    if (item == NULL)
-        return;
-
     OPENSSL_free(item);
 }
 
@@ -100,9 +97,6 @@ pqueue_s *pqueue_new()
 
 void pqueue_free(pqueue_s *pq)
 {
-    if (pq == NULL)
-        return;
-
     OPENSSL_free(pq);
 }