aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_address_destroy.c
blob: 1a79f214783947d1ac4a7a0e929c4d476a6ce892 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* See LICENSE file for copyright and license details. */
#include "common.h"


void
libcontacts_address_destroy(struct libcontacts_address *this)
{
	free(this->context);
	free(this->country);
	free(this->care_of);
	free(this->address);
	free(this->postcode);
	free(this->city);
	DESTROY_ALL(this->unrecognised_data, free);
}