mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-29 00:26:33 +03:00
Clean the rename datastructure in csync_commit
Fixes the crash in mirall issue 670 https://github.com/owncloud/mirall/issues/670
This commit is contained in:
parent
882e027e40
commit
78937b09b8
1 changed files with 2 additions and 0 deletions
|
@ -777,6 +777,8 @@ int csync_commit(CSYNC *ctx) {
|
|||
c_rbtree_destroy(ctx->remote.tree, _tree_destructor);
|
||||
}
|
||||
|
||||
csync_rename_destroy(ctx);
|
||||
|
||||
/* free memory */
|
||||
c_rbtree_free(ctx->local.tree);
|
||||
c_list_free(ctx->local.list);
|
||||
|
|
Loading…
Reference in a new issue