Permalink
Browse files

Fixed memory leaks.

  • Loading branch information...
1 parent df2097f commit 207d49159b8788cd3a5964e9d41f43b5348b9afe @cmkilger committed Jul 25, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 Seuss for iPad/SSCanvasView.m
  2. +1 −0 Seuss for iPad/SSConsoleViewController.m
@@ -404,6 +404,7 @@ - (void)loadFileAtPath:(NSString *)path {
SURelease(signatureIterator);
}
+ SURelease(variableIterator);
SURelease(functionIterator);
SURelease(statementIterator);
SURelease(file);
@@ -54,6 +54,7 @@ void SSWriteString(SUString * string, void * data) {
}];
});
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
+ dispatch_release(semaphore);
return SUStringCreate([string cStringUsingEncoding:NSUTF8StringEncoding]);
}

0 comments on commit 207d491

Please sign in to comment.