diff --git a/README.md b/README.md index 18910b2..99411c3 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Additionally in your project, under the Build Phases tab, expand Compile Sources The simplest way to get up and running with RNBlurModalView is to display a default view. Inside of your view controller, write the following code: ``` objective-c -RNBlurModalView *modal = [[RNBlurModalView alloc] initWithViewController:self title:@"Hello world!" message:@"Pur your message here."]; +RNBlurModalView *modal = [[RNBlurModalView alloc] initWithViewController:self title:@"Hello world!" message:@"Put your message here."]; [modal show]; ``` @@ -113,4 +113,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. diff --git a/RNBlurModalView.m b/RNBlurModalView.m index f3d081a..7b3233c 100644 --- a/RNBlurModalView.m +++ b/RNBlurModalView.m @@ -697,7 +697,7 @@ -(UIImage *)boxblurImageWithBlur:(CGFloat)blur { //clean up CGContextRelease(ctx); CGColorSpaceRelease(colorSpace); - free(pixelBuffer2) + free(pixelBuffer2); free(pixelBuffer); CFRelease(inBitmapData);