Skip to content

Commit

Permalink
Merge b0d6e93 into fb2170b
Browse files Browse the repository at this point in the history
  • Loading branch information
marciliojrs committed Aug 9, 2018
2 parents fb2170b + b0d6e93 commit 10bfbef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Layout/Properties.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ extension NSObject {
addProperty(name, type)
}
}

free(properties)
}
// Gather setter methods
var numberOfMethods: CUnsignedInt = 0
Expand Down Expand Up @@ -151,6 +153,7 @@ extension NSObject {
addProperty(name, type)
}
ctype.deallocate()
free(methods)
}
// Accessibility properties (TODO: find a way to automate this)
if conforms(to: UIAccessibilityIdentification.self) ||
Expand Down

0 comments on commit 10bfbef

Please sign in to comment.