Skip to content

Commit

Permalink
Merge pull request #149 from bricklife/fix-memory-leak
Browse files Browse the repository at this point in the history
Fix memory leak of `attributes`
  • Loading branch information
mdiep authored Jan 6, 2019
2 parents e46eef2 + 9697740 commit 5f2817f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ReactiveObjC/extobjc/EXTRuntimeExtensions.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Released under the MIT license.
//

#import <ReactiveObjC/EXTRuntimeExtensions.h>
#import "EXTRuntimeExtensions.h"

#import <ctype.h>
#import <Foundation/Foundation.h>
Expand Down Expand Up @@ -62,7 +62,7 @@

if (!next) {
fprintf(stderr, "ERROR: Could not read class name in attribute string \"%s\" for property %s\n", attrString, property_getName(property));
return NULL;
goto errorOut;
}

if (className != next) {
Expand Down

0 comments on commit 5f2817f

Please sign in to comment.