-BUFFER, and `tgetent' itself allocates the storage using `malloc'. In
-this case the returned value on success is the address of the storage,
-cast to `int'. But normally there is no need for you to look at the
-address. Do not free the storage yourself.
+BUFFER, and `tgetent' itself allocates the storage using `malloc'.
+There is no way to get the address that was allocated, and you
+shouldn't try to free the storage.