Skip to content

Commit

Permalink
Fix delete[] warning on fsevents.cc
Browse files Browse the repository at this point in the history
Fixes #1347.

--
MOS_MIGRATED_REVID=124330246
  • Loading branch information
damienmg authored and meteorcloudy committed Jun 8, 2016
1 parent 1b6852c commit aeee3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/native/fsevents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Java_com_google_devtools_build_lib_skyframe_MacOSXFsEventsDiffAwareness_create(
}
CFArrayRef pathsToWatch =
CFArrayCreate(NULL, (const void **)pathsArray, 1, NULL);
delete pathsArray;
delete[] pathsArray;
info->stream = FSEventStreamCreate(
NULL, &FsEventsDiffAwarenessCallback, &context, pathsToWatch,
kFSEventStreamEventIdSinceNow, static_cast<CFAbsoluteTime>(latency),
Expand Down

0 comments on commit aeee3b8

Please sign in to comment.