From 914fd13eddef5cd917a10da1816565acfaa5fd57 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 16 Jul 2010 02:20:34 +0200 Subject: s3-registry: use some prs macros to the only place where they are used. Guenther --- source3/registry/regfio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/registry') diff --git a/source3/registry/regfio.c b/source3/registry/regfio.c index 7a362d205e..7ab262d822 100644 --- a/source3/registry/regfio.c +++ b/source3/registry/regfio.c @@ -32,6 +32,12 @@ * ******************************************************************/ +#if defined(PARANOID_MALLOC_CHECKER) +#define PRS_ALLOC_MEM(ps, type, count) (type *)prs_alloc_mem_((ps),sizeof(type),(count)) +#else +#define PRS_ALLOC_MEM(ps, type, count) (type *)prs_alloc_mem((ps),sizeof(type),(count)) +#endif + /******************************************************************* Reads or writes an NTTIME structure. ********************************************************************/ -- cgit