diff options
Diffstat (limited to 'src/lib/libcrypto/pqueue/pqueue.c')
| -rw-r--r-- | src/lib/libcrypto/pqueue/pqueue.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/lib/libcrypto/pqueue/pqueue.c b/src/lib/libcrypto/pqueue/pqueue.c index eab13a1250..3ca8e049e4 100644 --- a/src/lib/libcrypto/pqueue/pqueue.c +++ b/src/lib/libcrypto/pqueue/pqueue.c | |||
| @@ -70,7 +70,7 @@ typedef struct _pqueue | |||
| 70 | pitem * | 70 | pitem * | 
| 71 | pitem_new(unsigned char *prio64be, void *data) | 71 | pitem_new(unsigned char *prio64be, void *data) | 
| 72 | { | 72 | { | 
| 73 | pitem *item = (pitem *) OPENSSL_malloc(sizeof(pitem)); | 73 | pitem *item = (pitem *) malloc(sizeof(pitem)); | 
| 74 | if (item == NULL) return NULL; | 74 | if (item == NULL) return NULL; | 
| 75 | 75 | ||
| 76 | memcpy(item->priority,prio64be,sizeof(item->priority)); | 76 | memcpy(item->priority,prio64be,sizeof(item->priority)); | 
| @@ -86,13 +86,13 @@ pitem_free(pitem *item) | |||
| 86 | { | 86 | { | 
| 87 | if (item == NULL) return; | 87 | if (item == NULL) return; | 
| 88 | 88 | ||
| 89 | OPENSSL_free(item); | 89 | free(item); | 
| 90 | } | 90 | } | 
| 91 | 91 | ||
| 92 | pqueue_s * | 92 | pqueue_s * | 
| 93 | pqueue_new() | 93 | pqueue_new() | 
| 94 | { | 94 | { | 
| 95 | pqueue_s *pq = (pqueue_s *) OPENSSL_malloc(sizeof(pqueue_s)); | 95 | pqueue_s *pq = (pqueue_s *) malloc(sizeof(pqueue_s)); | 
| 96 | if (pq == NULL) return NULL; | 96 | if (pq == NULL) return NULL; | 
| 97 | 97 | ||
| 98 | memset(pq, 0x00, sizeof(pqueue_s)); | 98 | memset(pq, 0x00, sizeof(pqueue_s)); | 
| @@ -104,7 +104,7 @@ pqueue_free(pqueue_s *pq) | |||
| 104 | { | 104 | { | 
| 105 | if (pq == NULL) return; | 105 | if (pq == NULL) return; | 
| 106 | 106 | ||
| 107 | OPENSSL_free(pq); | 107 | free(pq); | 
| 108 | } | 108 | } | 
| 109 | 109 | ||
| 110 | pitem * | 110 | pitem * | 
