File pidentd-3.1a25-allocfix.diff of Package pidentd

--- plib/aalloc.h
+++ plib/aalloc.h
@@ -29,7 +29,7 @@
 #endif
 
 #define A_ALLOC(VAR)   a_malloc((VAR), #VAR)
-#define A_NEW(VAR)     ((VAR) = a_malloc(sizeof((VAR)), #VAR))
+#define A_NEW(VAR)     ((VAR) = a_malloc(sizeof(*(VAR)), #VAR))
 #define A_STRDUP(VAR)  a_strdup((VAR), #VAR)
 
 
openSUSE Build Service is sponsored by