Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libresolv/dst_internal.h,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libresolv/dst_internal.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.1 retrieving revision 1.2 diff -u -p -r1.1 -r1.2 --- src/lib/libresolv/dst_internal.h 2012/11/15 18:48:48 1.1 +++ src/lib/libresolv/dst_internal.h 2012/11/16 02:11:05 1.2 @@ -1,4 +1,4 @@ -/* $NetBSD: dst_internal.h,v 1.1 2012/11/15 18:48:48 christos Exp $ */ +/* $NetBSD: dst_internal.h,v 1.2 2012/11/16 02:11:05 joerg Exp $ */ #ifndef DST_INTERNAL_H #define DST_INTERNAL_H @@ -83,7 +83,7 @@ typedef struct dst_key { #endif #ifndef SAFE_FREE -#define SAFE_FREE(a) SAFE_FREE2((a), sizeof(a)) +#define SAFE_FREE(a) SAFE_FREE2((a), sizeof(*(a))) #endif typedef struct dst_func {