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:
Olivier Goffart 2013-06-10 10:11:13 +02:00
parent 882e027e40
commit 78937b09b8

View file

@ -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);