Skip to content

Conversation

@sidgairo18
Copy link
Contributor

No description provided.

if (wrote_something && context->force_flush)
fsync(context->out->fh); // Don't buffer

free(context);
Copy link
Contributor

Choose a reason for hiding this comment

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

That free() is definitely not correct. The context is needed there. change_name doesn't allocate a new context, it returns the same one which is used globally.

@cfsmp3 cfsmp3 closed this Jan 23, 2017
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