From d21f45895182ac8a8cdaa08949e3e4db04217880 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 May 2008 20:34:39 +0000 Subject: [PATCH] fix a memory leak git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2383 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/core-scache.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c index 018b283..e554600 100644 --- a/src/pulsecore/core-scache.c +++ b/src/pulsecore/core-scache.c @@ -3,7 +3,7 @@ /*** This file is part of PulseAudio. - Copyright 2004-2006 Lennart Poettering + Copyright 2004-2008 Lennart Poettering Copyright 2006 Pierre Ossman for Cendio AB PulseAudio is free software; you can redistribute it and/or modify @@ -228,6 +228,7 @@ int pa_scache_add_file(pa_core *c, const char *name, const char *filename, uint3 pa_proplist_sets(p, PA_PROP_MEDIA_FILENAME, filename); r = pa_scache_add_item(c, name, &ss, &map, &chunk, p, idx); pa_memblock_unref(chunk.memblock); + pa_proplist_free(p); return r; } -- 2.7.4