# mysql\_stmt\_free\_result

## Syntax

```c
my_bool mysql_stmt_free_result(MYSQL_STMT * stmt);
```

* `stmt` - a statement handle, which was previously allocated by [mysql\_stmt\_init()](https://mariadb.com/docs/connectors/mariadb-connector-c/api-prepared-statement-functions/mysql_stmt_init).

## Description

Frees stored result memory of a prepared statement. Returns void.

## See Also

* [mysql\_stmt\_store\_result()](https://mariadb.com/docs/connectors/mariadb-connector-c/api-prepared-statement-functions/mysql_stmt_store_result)

{% @marketo/form formId="4316" %}
