Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix double-release [noprocrast]

  • Loading branch information...
commit ef4c7f3340da0a48eb1d95e4449efdea117801b5 1 parent 221d422
@pc pc authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  noprocrast/noprocrast.m
View
2  noprocrast/noprocrast.m
@@ -56,7 +56,7 @@
CGEventRef cfEventCallback(CGEventTapProxy proxy, CGEventType type, CGEventRef event, void *refcon) {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
- NSEvent *e = [[NSEvent eventWithCGEvent:event] autorelease];
+ NSEvent *e = [NSEvent eventWithCGEvent:event];
if(type == lastEventType && (type == kCGEventMouseMoved || type == kCGEventScrollWheel)) {
if([e timestamp] - lastCompressableEventTime < 0.2) {
Please sign in to comment.
Something went wrong with that request. Please try again.