fix free in sync_get_file_tags

Sun, 11 Aug 2019 08:24:10 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 11 Aug 2019 08:24:10 +0200
changeset 619
1d20a6cab2e5
parent 618
4b34d12cf211
child 620
a93374f1849a

fix free in sync_get_file_tags

dav/sync.c file | annotate | diff | comparison | revisions
--- a/dav/sync.c	Sat Aug 10 21:32:07 2019 +0200
+++ b/dav/sync.c	Sun Aug 11 08:24:10 2019 +0200
@@ -3261,7 +3261,7 @@
             if(newhash) {
                 *newhash = new_hash;
             } else {
-                free(newhash);
+                free(new_hash);
             }
             
             switch(dir->tagconfig->local_format) {

mercurial