diff options
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/app/MBXViewController.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index 2c9e230ad6..065d65c663 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -2019,6 +2019,7 @@ CLLocationCoordinate2D randomWorldCoordinate() { } } } + free(methods); NSAssert(numStyleURLMethods == styleNames.count, @"MGLStyle provides %u default styles but iosapp only knows about %lu of them.", numStyleURLMethods, (unsigned long)styleNames.count); |