aboutsummaryrefslogblamecommitdiffstats
path: root/libcontacts_number_destroy.3
blob: 5f3cafc3f93c1345e4cafe432f5cac4d490f02a7 (plain) (tree)

































                                                                                    
.TH LIBCONTACTS_NUMBER_DESTROY 3 LIBCONTACTS
.SH NAME
libcontacts_number_destroy \- Deallocate memory for a contact telephone number entry
.SH SYNOPSIS
.nf
#include <libcontacts.h>

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

.SH DESCRIPTION
The
.BR libcontacts_number_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)