Skip to content

Conversation

messense
Copy link
Member

@messense messense commented Jan 3, 2019

If the push consumer has not been started, deallocate it will segfault in current code.

If the push consumer has not been started, deallocate it will segfault in current code.
@ShannonDing ShannonDing added the enhancement New feature or request label Jan 4, 2019
@ShannonDing ShannonDing added this to the 1.2.1 milestone Jan 4, 2019
@ShannonDing ShannonDing merged commit 847ef22 into apache:master Jan 4, 2019
@ifplusor
Copy link
Contributor

@messense see http://www.cplusplus.com/reference/new/operator%20delete/ delete null-pointer will do nothing like as free(NULL), so i think your change is ineffective.

@ifplusor
Copy link
Contributor

i see this is resolved in your PR #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants