Fix documentation for get_info. Memory is not allocated!

Prevent users from trying to free it.
pull/793/head
Wouter van Gulik 2021-09-09 22:42:55 +02:00
rodzic 3edc59dbd2
commit 720f8fa86e
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -6463,9 +6463,9 @@ int HAMLIB_API rig_set_vfo_opt(RIG *rig, int status)
* Retrieves some general information from the radio.
* This can include firmware revision, exact model name, or just nothing.
*
* \return a pointer to freshly allocated memory containing the ASCIIZ string
* \return a pointer to memory containing the ASCIIZ string
* if the operation has been successful, otherwise NULL if an error occurred
* or get_info not part of capabilities.
* or if get_info is not part of the capabilities.
*/
const char *HAMLIB_API rig_get_info(RIG *rig)
{