Permalink
Browse files

fixed memory management issue.

  • Loading branch information...
KATAOKA,Atsushi
KATAOKA,Atsushi committed Mar 8, 2011
1 parent 5eb46db commit d2a59a5e9e2f6d3a54ba26feeabc198906638279
Showing with 2 additions and 2 deletions.
  1. +2 −2 Classes/ComArmarkertiCameraView.m
@@ -246,7 +246,7 @@ - (void)captureOutput:(AVCaptureOutput *)captureOutput
[marker_dic setValue:[[[TiPoint alloc] initWithPoint:marker.moment] autorelease] forKey:@"moment"];
// transform
- NSDictionary *marker_transform = [[[NSDictionary alloc] initWithObjectsAndKeys:
+ NSDictionary *marker_transform = [[NSDictionary alloc] initWithObjectsAndKeys:
NUMFLOAT(marker.transform->data.fl[0]), @"m11",
NUMFLOAT(marker.transform->data.fl[1]), @"m12",
NUMFLOAT(marker.transform->data.fl[2]), @"m13",
@@ -262,7 +262,7 @@ - (void)captureOutput:(AVCaptureOutput *)captureOutput
NUMFLOAT(marker.transform->data.fl[12]),@"m41",
NUMFLOAT(marker.transform->data.fl[13]),@"m42",
NUMFLOAT(marker.transform->data.fl[14]),@"m43",
- NUMFLOAT(marker.transform->data.fl[15]),@"m44",nil] autorelease];
+ NUMFLOAT(marker.transform->data.fl[15]),@"m44",nil];
[marker_dic setValue:marker_transform forKey:@"transform"];
[marker_transform release];

0 comments on commit d2a59a5

Please sign in to comment.