Added stacktrace support with --enable-stack-trace option.
[silc.git] / apps / silcd / silcd.c
index 6654ef9534ad11840646415299b839a691557a77..c1a5277e570ee2d36fe1c8e4d2edbc705e85ead2 100644 (file)
@@ -485,8 +485,15 @@ int main(int argc, char **argv)
   /* Flush the logging system */
   silc_log_flush_all();
 
+  silc_free(silcd_config_file);
+  silc_free(opt_identifier);
+  silc_free(opt_keypath);
   exit(0);
+
  fail:
+  silc_free(silcd_config_file);
+  silc_free(opt_identifier);
+  silc_free(opt_keypath);
   exit(1);
 }