We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce68f89 + e8c4725 commit 87adbc6Copy full SHA for 87adbc6
NetDiag/QNNTcpPing.m
@@ -146,9 +146,9 @@ - (void)run {
146
__block NSDate *startDate = begin;
147
dispatch_async(dispatch_get_main_queue(), ^(void) {
148
_complete([self buildResult:code ip:ip durations:intervals loss:loss count:index totalTime:[[NSDate date] timeIntervalSinceDate:startDate] * 1000]);
149
+ free(intervals);
150
});
151
}
- free(intervals);
152
153
154
- (QNNTcpPingResult *)buildResult:(NSInteger)code
0 commit comments