Skip to content

Commit

Permalink
Fix a memory leak
Browse files Browse the repository at this point in the history
> Potential leak of memory pointed to by 'attributes'
  • Loading branch information
Shinichiro Oba committed Nov 29, 2018
1 parent e46eef2 commit 269ea88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactiveObjC/extobjc/EXTRuntimeExtensions.m
Original file line number Diff line number Diff line change
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 269ea88

Please sign in to comment.