Fix TimerDelegate memory leak
This commit is contained in:
parent
5dbe20593d
commit
68e1223e4d
|
@ -282,4 +282,5 @@ void uiTimer(int milliseconds, int (*f)(void *data), void *data)
|
||||||
selector:@selector(doTimer:)
|
selector:@selector(doTimer:)
|
||||||
userInfo:nil
|
userInfo:nil
|
||||||
repeats:YES];
|
repeats:YES];
|
||||||
|
[delegate release];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue