aboutsummaryrefslogtreecommitdiffstats
path: root/libcontacts_address_destroy.c
blob: e8ed73358827e3ca7e9dc7b732de75aae8503aaa (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_STRINGS(this->unrecognised_data);
}