Fix doxygen comment: the string SHALL NOT be freed (it's const BTW).

Or maybe I would rather have removed the const and called strdup(3)?

New issue
Summary: Sync code and comments
Owner: rconty@il4p.fr
Status: New
Romuald, can you please review this changeset and fix the code if I corrected
the wrong way (i.e. the comment was Okay and the code bogus while I fixed the
comment thinking the cod was right).

Thanks!
This commit is contained in:
Romain Tartiere 2010-08-13 19:10:31 +00:00
parent 2029e0c66f
commit fab08a3951

View file

@ -1095,7 +1095,7 @@ bool nfc_target_send_dep_bytes(const nfc_device_t* pnd, const byte_t* pbtTx, con
/**
* @brief Returns the device name
* @return Returns a string with the device name ( MUST be freed with free() )
* @return Returns a string with the device name
*/
const char* nfc_device_name(nfc_device_t* pnd)
{