Unable to free MySQL result

Backtrace: