mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-16 17:19:44 -05:00
silence compiler warning
This commit is contained in:
parent
7e2f688e8b
commit
e48e01efe7
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ typedef struct dst_key {
|
|||
#ifndef SAFE_FREE
|
||||
#define SAFE_FREE(a) \
|
||||
do{if(a != NULL){memset(a,0, sizeof(*a)); free(a); a=NULL;}} while (0)
|
||||
#define SAFE_FREE2(a,s) if (a != NULL && s > 0){memset(a,0, s);free(a); a=NULL;}
|
||||
#define SAFE_FREE2(a,s) if (a != NULL && (long)s > 0){memset(a,0, s);free(a); a=NULL;}
|
||||
#endif
|
||||
|
||||
typedef struct dst_func {
|
||||
|
|
|
|||
Loading…
Reference in a new issue