chiark / gitweb /
Missing gcry_md_close.
authorRichard Kettlewell <richard@kakajou.wlan.anjou.terraraq.org.uk>
Sun, 6 Jun 2010 17:36:29 +0000 (18:36 +0100)
committerRichard Kettlewell <richard@kakajou.wlan.anjou.terraraq.org.uk>
Sun, 6 Jun 2010 17:36:29 +0000 (18:36 +0100)
server/mount.c

index 8a7752ad8b663c1061c0d3277c2c1363d1cb1cfa..506b66374c0dba121349e8783e7c12a4b16cc01f 100644 (file)
@@ -73,6 +73,7 @@ void periodic_mount_check(ev_source *ev_) {
     trackdb_rescan(ev_, 1/*check*/, 0, 0);
   memcpy(last, current, sizeof last);
   first = 0;
+  gcry_md_close(h);
 #elif defined PATH_MTAB
   /* On Linux we keep track of the modification time of /etc/mtab */
   static time_t last_mount;