<div dir="ltr">Fix possible return of freed pointer (Coverity)<br></div>