Fix segfault issue #1

`dst` variable is set to `NULL` after initialization of settings but in some circonstance, the variable is still used (`log_level`, `format`,...) and was causing the segfault.