Add automatic macros for config-file options. Bug 1819
[exim.git] / src / src / dbstuff.h
index ce81f1eb4f84598dcd8e517aa0b8960e11c9204d..93c715ac2f27f33568870f57875777c43500c600 100644 (file)
@@ -64,7 +64,7 @@ tdb_traverse to be called) */
 
 /* EXIM_DBCREATE_CURSOR - initialize for scanning operation */
 #define EXIM_DBCREATE_CURSOR(db, cursor) { \
-   *(cursor) = malloc(sizeof(TDB_DATA)); (*(cursor))->dptr = NULL; }
+   *(cursor) = store_malloc(sizeof(TDB_DATA)); (*(cursor))->dptr = NULL; }
 
 /* EXIM_DBSCAN - This is complicated because we have to free the last datum
 free() must not die when passed NULL */