aboutsummaryrefslogtreecommitdiff
path: root/src/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c
index bcd28db..70e9ee1 100644
--- a/src/module.c
+++ b/src/module.c
@@ -237,7 +237,7 @@ database_declare(const char *file, unsigned line,
237 *pdb = db; 237 *pdb = db;
238 return 1; 238 return 1;
239 } 239 }
240 db = emalloc(sizeof(*db)); 240 db = ecalloc(1, sizeof(*db));
241 db->file = estrdup(file); 241 db->file = estrdup(file);
242 db->line = line; 242 db->line = line;
243 db->id = estrdup(id); 243 db->id = estrdup(id);

Return to:

Send suggestions and report system problems to the System administrator.