Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freeing sync lists #76

Merged
merged 3 commits into from
Jun 15, 2017
Merged

Freeing sync lists #76

merged 3 commits into from
Jun 15, 2017

Conversation

dsikich
Copy link

@dsikich dsikich commented Jun 15, 2017

  1. I updated this to check for NULL in dcmp_strmap_compare before freeing the lists when sync is not being used.
  2. I took out the -o option in the dcmp man pages since it doesn't seem to be working or we don't know how to use it
  3. ran pandoc on markdown pages for tools

@dsikich dsikich requested a review from adammoody June 15, 2017 22:22
src/dcmp/dcmp.c Outdated
mfu_flist dst_remove_list = MFU_FLIST_NULL;
mfu_flist src_cp_list = MFU_FLIST_NULL;
mfu_flist dst_remove_list = NULL;
mfu_flist src_cp_list = NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep with setting these to MFU_FLIST_NULL, but check for that instead of NULL in the if/free blocks below.

Copy link
Member

@adammoody adammoody left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@dsikich dsikich merged commit 123bb68 into master Jun 15, 2017
@dsikich dsikich deleted the freeing-sync-lists branch June 15, 2017 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants