From 2d01202eee44d8bad5bb982e72829b4a98d58bcd Mon Sep 17 00:00:00 2001 From: Joseph Lansdowne Date: Thu, 4 Apr 2019 20:37:06 +0100 Subject: [PATCH] fix memory leak --- ChangeLog | 1 + ftpfs.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ftpfs.c b/ftpfs.c index 34f8c38..020e559 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -607,6 +607,8 @@ static int finish_write_thread(struct ftpfs_file *fh) static void free_ftpfs_file(struct ftpfs_file *fh) { + buf_free(&fh->buf); + buf_free(&fh->stream_buf); if (fh->write_conn) curl_easy_cleanup(fh->write_conn); g_free(fh->full_path); ='id' value='f44b1f76a9363a69d8d474f54b1fcb2cd0ef9c52'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/store-database.scm
AgeCommit message (Expand)Author
2021-01-31database: Validate #:nar-size and #:time when registering store items....* guix/store/database.scm (assert-integer): New procedure. (update-or-insert): Use it to validate NAR-SIZE and TIME. * tests/store-database.scm ("sqlite-register with incorrect size"): New test. Ludovic Courtès
2020-12-15database: Remove 'register-path'....* guix/store/database.scm (register-path): Remove. * tests/store-database.scm ("register-path"): Rename to... ("register-items"): ... this, and use 'register-items' instead of 'register-path'. ("register-path, directory"): Rename to... ("register-items, directory"): ... this, and use 'register-items' instead of 'register-path'. ("register-path with unregistered references"): Rename to... ("sqlite-register with unregistered references"): ... this. Ludovic Courtès
2020-12-15database: Remove #:deduplicate? and #:reset-timestamps? from 'register-path'....* guix/store/database.scm (register-path): Remove #:deduplicate? and #:reset-timestamps?. * guix/scripts/system.scm (copy-item): Adjust accordingly. * tests/store-database.scm ("register-path") ("register-path, directory"): Call 'reset-timestamps'. Ludovic Courtès
2020-11-21store-database: Add test checking the directory mtime after 'register-path'....* tests/store-database.scm ("register-path, directory"): New test. Ludovic Courtès