-fix memory leak

This commit is contained in:
Christian Grothoff 2023-04-15 14:38:32 +02:00
parent eb2b4a131b
commit 07a089f4f1
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 11 additions and 5 deletions

View File

@ -390,7 +390,7 @@ FROM exists;
RETURN;
END $$;
/*** THIS SQL CODE WORKS ***/
/*** Experiment using a loop ***/
/*
CREATE OR REPLACE FUNCTION exchange_do_batch2_known_coin(
IN in_coin_pub1 BYTEA,

View File

@ -362,10 +362,16 @@ TALER_AUDITOR_deposit_confirmation (
dh->ctx.headers,
&handle_deposit_confirmation_finished,
dh);
{
/* Disable 100 continue processing */
struct curl_slist *x_headers;
x_headers = curl_slist_append (NULL,
"Expect:");
GNUNET_CURL_extend_headers (dh->job,
curl_slist_append (NULL,
"Expect:"));
x_headers);
curl_slist_free_all (x_headers);
}
return dh;
}