Fix documentation for BMessage::Previous
The function allocates a message because it uses lazy initialization, however the user does not get ownership and must not delete it. Fixes #14413.
This commit is contained in:
@@ -463,9 +463,10 @@
|
||||
\brief Get the message to which this message is a reply.
|
||||
|
||||
\return Returns a new BMessage with the same data stuctures as the message
|
||||
to which this message is a reply. You get the ownership of this
|
||||
message, so free it when you're done. If this message isn't a
|
||||
reply to another message, this method will return \c NULL.
|
||||
to which this message is a reply. The pointer is only valid as
|
||||
long as this message is still allocated, you do not get ownership.
|
||||
If this message isn't a reply to another message, this method will
|
||||
return \c NULL.
|
||||
|
||||
\since BeOS R3
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user