diff options
Diffstat (limited to 'libglusterfs/src/protocol.h')
-rw-r--r-- | libglusterfs/src/protocol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 592d0a4f4..6e8a13067 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -999,7 +999,8 @@ __gf_hdr_new (int size) gf_hdr_common_t *hdr = NULL; /* TODO: use mem-pool */ - hdr = CALLOC (sizeof (gf_hdr_common_t) + size, 1); + hdr = GF_CALLOC (sizeof (gf_hdr_common_t) + size, 1, + gf_common_mt_gf_hdr_common_t); if (!hdr) { return NULL; |