diff --git a/modules/routing/readconnroute.c b/modules/routing/readconnroute.c index 01f449d8c..a2eb03b2a 100644 --- a/modules/routing/readconnroute.c +++ b/modules/routing/readconnroute.c @@ -102,7 +102,9 @@ version() void ModuleInit() { - skygw_log_write(NULL, LOGFILE_MESSAGE, "Initial test router module.\n"); + skygw_log_write(NULL, + LOGFILE_MESSAGE, + strdup("Initial test router module.\n")); fprintf(stderr, "Initial test router module.\n"); spinlock_init(&instlock); instances = NULL;