diff options
| author | xant <[email protected]> | 2012-12-12 21:25:34 (GMT) |
|---|---|---|
| committer | xant <[email protected]> | 2012-12-12 21:25:34 (GMT) |
| commit | 4167aea761c5803fa742d78c8e502b6bfbed267c (patch) | |
| tree | ec3f5a86573dac8db56c865ee3462dc6a3d12774 /core/JMXPin.mm | |
| parent | 2f5f1026b018345836c4841c47ad1de9af6099d6 (diff) | |
Diffstat (limited to 'core/JMXPin.mm')
| -rw-r--r-- | core/JMXPin.mm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/JMXPin.mm b/core/JMXPin.mm index ce5ab55..ca5e1a4 100644 --- a/core/JMXPin.mm +++ b/core/JMXPin.mm @@ -593,12 +593,10 @@ using namespace v8; // and propagate the signal if that's the case if ([self isValidData:data]) { id toRelease = nil; - UInt32 currentOffset = offset&kJMXPinDataBufferMask; UInt32 nextOffset = (offset+1)&kJMXPinDataBufferMask; toRelease = dataBuffer[nextOffset]; dataBuffer[nextOffset] = [data retain]; OSAtomicIncrement32(&offset); - dataBuffer[currentOffset] = nil; [toRelease release]; if (sender) currentSender = sender; |

