Add hash attrib to transfers.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 16 Oct 2005 03:45:04 +0000 (03:45 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 16 Oct 2005 03:45:04 +0000 (03:45 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@378 959494ce-11ee-0310-bf91-de5d638817bd

daemon/transfer.c

index 15bd5d2..8a295a6 100644 (file)
@@ -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;