anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit c3f3ebff6e4cba698f4bebff65c4b9b721ba1d16
parent 403c408fd64a454483eec6109e21d16432700aa3
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 29 Jul 2026 13:08:36 +0200

restclient: free a previous pay_uri on a duplicate Taler header

Diffstat:
Msrc/restclient/anastasis_api_truth_store.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/restclient/anastasis_api_truth_store.c b/src/restclient/anastasis_api_truth_store.c @@ -238,6 +238,8 @@ handle_header (char *buffer, size_t len; /* found payment URI we care about! */ + /* free any value from a previous (duplicate) Taler header first */ + GNUNET_free (tso->pay_uri); tso->pay_uri = GNUNET_strdup (hdr_val); len = strlen (tso->pay_uri); while ( (len > 0) &&