[TASK] Add missing sql_free_result in alt_doc.php