Skip to content

Commit

Permalink
Fixed deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jessup committed May 1, 2019
1 parent 3ec5155 commit edcf933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/PerfectLDAP/Utilities.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extension Iconv {
return ""
}//end guard
let str = String(validatingUTF8: p)
p.deallocate(capacity: Int(from.bv_len) * 2)
p.deallocate()
return str ?? ""
}//end convert
}
Expand Down

0 comments on commit edcf933

Please sign in to comment.