aboutsummaryrefslogblamecommitdiffstats
path: root/libcontacts_chat_destroy.3
blob: e504b64c0afbea651b3b6d687ef6e34cdbfa55ad (plain) (tree)

































                                                                                      
.TH LIBCONTACTS_CHAT_DESTROY 3 LIBCONTACTS
.SH NAME
libcontacts_chat_destroy \- Deallocate memory for a contact chat service address entry
.SH SYNOPSIS
.nf
#include <libcontacts.h>

int libcontacts_chat_destroy(struct libcontacts_chat *\fIentry\fP);
.fi
.PP
Link with
.IR -lcontacts .

.SH DESCRIPTION
The
.BR libcontacts_chat_destroy ()
function deallocates the memory stored in
.IR *entry .
The caller must manually call
.BR free (3)
on the pointer
.I entry
afterwards if it a freeable pointer.

.SH RETURN VALUE
None.

.SH ERRORS
None.

.SH SEE ALSO
.BR libcontacts.h (0),
.BR libcontacts (7),
.BR libcontacts_contact_destroy (3)