diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-05-07 20:34:39 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-05-07 20:34:39 +0000 |
commit | d21f45895182ac8a8cdaa08949e3e4db04217880 (patch) | |
tree | 2e59475514fa8b45e968dec6ac7814cb76d99bb6 | |
parent | 9354da4960e4dae0441c840b0de6d3131faf174f (diff) | |
download | pulseaudio-d21f45895182ac8a8cdaa08949e3e4db04217880.tar.gz |
fix a memory leak
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2383 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r-- | src/pulsecore/core-scache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c index 018b2837e..e55460078 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 <ossman@cendio.se> 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; } |