Rocco Rutte:
[apps/madmutt.git] / crypt-mod.c
index e8aaa6b..9200ef9 100644 (file)
@@ -12,6 +12,7 @@
 #endif
 
 #include "crypt-mod.h"
+#include "lib/mem.h"
 
 /* A type an a variable to keep track of registered crypto modules. */
 typedef struct crypt_module *crypt_module_t;
@@ -26,7 +27,7 @@ static crypt_module_t modules;
 /* Register a new crypto module. */
 void crypto_module_register (crypt_module_specs_t specs)
 {
-  crypt_module_t module_new = safe_malloc (sizeof (*module_new));
+  crypt_module_t module_new = mem_malloc (sizeof (*module_new));
 
   module_new->specs = specs;
   module_new->next = modules;