[ticket/12387] Cleanup *_free_result call and remove @ on that call

https://tracker.phpbb.com/browse/PHPBB3-12387

PHPBB3-12387
sorry, i missed that this is db driver vs cache