summaryrefslogtreecommitdiff
path: root/src/proplist.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-27 18:46:11 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-27 18:46:11 +0000
commit83ad45a0e82d441f4ce616d6b6287da55dd134ff (patch)
tree8aaba178a81de84adb435053abc8c5354339f2f4 /src/proplist.c
parente3d15b624f32799f07065166e7bc0e192a718a62 (diff)
fix memleak
git-svn-id: file:///home/lennart/svn/public/libcanberra/trunk@24 01b60673-d06a-42c0-afdd-89cb8e0f78ac
Diffstat (limited to 'src/proplist.c')
-rw-r--r--src/proplist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proplist.c b/src/proplist.c
index 5a6db25..53eebf6 100644
--- a/src/proplist.c
+++ b/src/proplist.c
@@ -254,6 +254,7 @@ int ca_proplist_destroy(ca_proplist *p) {
for (prop = p->first_item; prop; prop = nprop) {
nprop = prop->next_item;
+ ca_free(prop->key);
ca_free(prop);
}