mongoose/docs/c-api/mg_coap.h/mg_coap_free_options.md

12 lines
271 B
Markdown
Raw Normal View History

---
title: "mg_coap_free_options()"
decl_name: "mg_coap_free_options"
symbol_kind: "func"
signature: |
void mg_coap_free_options(struct mg_coap_message *cm);
---
Frees the memory allocated for options.
If the cm parameter doesn't contain any option it does nothing.