aboutsummaryrefslogtreecommitdiff
path: root/src/util/taler-exchange-secmod-cs.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-05 15:37:47 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-05 15:37:47 +0100
commit81adb775a12b767f41b30af83fb410e965362834 (patch)
treee1487eb4a38f32f8e2fc2a0826044dbf155778f2 /src/util/taler-exchange-secmod-cs.c
parente16dc518d586907898060576a1abfa0879c8dffe (diff)
downloadexchange-81adb775a12b767f41b30af83fb410e965362834.tar.xz
-do not free const strings
Diffstat (limited to 'src/util/taler-exchange-secmod-cs.c')
-rw-r--r--src/util/taler-exchange-secmod-cs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c
index a823c6929..fbd5aa258 100644
--- a/src/util/taler-exchange-secmod-cs.c
+++ b/src/util/taler-exchange-secmod-cs.c
@@ -345,7 +345,7 @@ static char *keydir;
* "donau". The actual configuration section will then be
* "$SECTION-exchange-secmod-cs".
*/
-static char *section = "taler";
+static char *section;
/**
* How much should coin creation (@e duration_withdraw) duration overlap
@@ -2300,7 +2300,7 @@ main (int argc,
/* Restrict permissions for the key files that we create. */
(void) umask (S_IWGRP | S_IROTH | S_IWOTH | S_IXOTH);
-
+ section = GNUNET_strdup ("taler");
/* force linker to link against libtalerutil; if we do
not do this, the linker may "optimize" libtalerutil
away and skip #TALER_OS_init(), which we do need */