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

compiler warning about mismatched new[]/delete #1347

Closed
pmbethe09 opened this issue Jun 7, 2016 · 1 comment
Closed

compiler warning about mismatched new[]/delete #1347

pmbethe09 opened this issue Jun 7, 2016 · 1 comment
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug

Comments

@pmbethe09
Copy link
Member

src/main/native/fsevents.cc:88:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
delete pathsArray;
^
[]
src/main/native/fsevents.cc:78:29: note: allocated with 'new[]' here
CFStringRef *pathsArray = new CFStringRef[length];

@meteorcloudy
Copy link
Member

@damienmg I think we can fix this warning.

@meteorcloudy meteorcloudy added type: bug P2 We'll consider working on this in future. (Assignee optional) labels Jun 8, 2016
dslomov pushed a commit that referenced this issue Jun 10, 2016
Fixes #1347.

--
MOS_MIGRATED_REVID=124330246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

No branches or pull requests

3 participants