aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-07-28 21:03:14 +0200
committerFlorian Dold <florian@dold.me>2021-07-28 21:03:14 +0200
commitff78b7b4003aa33e05c9f30125afdfff24c98eae (patch)
tree95a201c167ae312dea746de318f9ec0cace8b782 /src/util
parent3012383a1682c3bda9da12c15bfa7c0c384bc757 (diff)
downloadgnunet-ff78b7b4003aa33e05c9f30125afdfff24c98eae.tar.gz
gnunet-ff78b7b4003aa33e05c9f30125afdfff24c98eae.zip
-fix memleak
Diffstat (limited to 'src/util')
-rw-r--r--src/util/configuration.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c
index 016088eee..1ba9aab05 100644
--- a/src/util/configuration.c
+++ b/src/util/configuration.c
@@ -526,6 +526,8 @@ handle_inline (struct GNUNET_CONFIGURATION_Handle *cfg,
526 } 526 }
527 if (source_filename) 527 if (source_filename)
528 { 528 {
529 /* Possible that this secret section has been inlined before */
530 GNUNET_free (cs->hint_inlined_from_filename);
529 cs->hint_inlined_from_filename = GNUNET_strdup (source_filename); 531 cs->hint_inlined_from_filename = GNUNET_strdup (source_filename);
530 cs->hint_inlined_from_line = source_lineno; 532 cs->hint_inlined_from_line = source_lineno;
531 } 533 }