From 269ea889883af417816e014f25def6b370305640 Mon Sep 17 00:00:00 2001 From: Shinichiro Oba Date: Thu, 29 Nov 2018 16:12:19 +0000 Subject: [PATCH] Fix a memory leak > Potential leak of memory pointed to by 'attributes' --- ReactiveObjC/extobjc/EXTRuntimeExtensions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactiveObjC/extobjc/EXTRuntimeExtensions.m b/ReactiveObjC/extobjc/EXTRuntimeExtensions.m index 0e1a3f937..6a6e6f222 100644 --- a/ReactiveObjC/extobjc/EXTRuntimeExtensions.m +++ b/ReactiveObjC/extobjc/EXTRuntimeExtensions.m @@ -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) {