Don't free the resource if it's a boolean
Result classes are created from the result of insert/updates which are often just a boolean true, so aren't appropriate to free resources from