Skip to content

Commit

Permalink
Revert "Fixes FlutterCallbackInfomation leaks (flutter#15089)"
Browse files Browse the repository at this point in the history
This reverts commit b610694.
  • Loading branch information
NoamDev authored Feb 27, 2020
1 parent c904b4d commit c9f0a42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ + (FlutterCallbackInformation*)lookupCallbackInformation:(int64_t)handle {
if (info == nullptr) {
return nil;
}
FlutterCallbackInformation* new_info = [[[FlutterCallbackInformation alloc] init] autorelease];
FlutterCallbackInformation* new_info = [[FlutterCallbackInformation alloc] init];
new_info.callbackName = [NSString stringWithUTF8String:info->name.c_str()];
new_info.callbackClassName = [NSString stringWithUTF8String:info->class_name.c_str()];
new_info.callbackLibraryPath = [NSString stringWithUTF8String:info->library_path.c_str()];
Expand Down

0 comments on commit c9f0a42

Please sign in to comment.