From: fredrik Date: Sun, 16 Oct 2005 03:45:04 +0000 (+0000) Subject: Add hash attrib to transfers. X-Git-Tag: 0.1~197 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=429d35e50b49c751c7b2b43020a9bf112e3d0c7b Add hash attrib to transfers. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@378 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/transfer.c b/daemon/transfer.c index 15bd5d2..8a295a6 100644 --- a/daemon/transfer.c +++ b/daemon/transfer.c @@ -36,6 +36,7 @@ #include "auth.h" #include "transfer.h" #include "module.h" +#include "client.h" static void killfilter(struct transfer *transfer); @@ -82,6 +83,8 @@ void freetransfer(struct transfer *transfer) free(transfer->actdesc); if(transfer->filterbuf != NULL) free(transfer->filterbuf); + if(transfer->hash != NULL) + freehash(transfer->hash); if(transfer->localend != NULL) { transfer->localend->readcb = NULL;