Procedural style:
Object oriented style (method):
mysqli_stmt { void free_result();}
void free_result();
Frees the result memory associated with the statement, which was allocated by mysqli_stmt_store_result().
Procedural style only: A statement identifier returned by mysqli_stmt_init().
No value is returned.