Skip to content

Commit

Permalink
Merge pull request BradLarson#1042 from mirego/fix-static-analysis-wa…
Browse files Browse the repository at this point in the history
…rning

Fix static analysis warning in that new Xcode
  • Loading branch information
BradLarson committed Jun 25, 2013
2 parents b01c87d + 4568c4b commit aad15fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/Source/GPUImageStillCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ - (void)capturePhotoProcessedUpToFilter:(GPUImageOutput<GPUImageInput> *)finalFi
dispatch_semaphore_signal(frameRenderingSemaphore);
[self captureOutput:photoOutput didOutputSampleBuffer:sampleBuffer fromConnection:[[photoOutput connections] objectAtIndex:0]];
dispatch_semaphore_wait(frameRenderingSemaphore, DISPATCH_TIME_FOREVER);
CFRelease(sampleBuffer);
if (sampleBuffer != NULL)
CFRelease(sampleBuffer);
}
else
{
Expand Down

0 comments on commit aad15fb

Please sign in to comment.