[pulseaudio-commits] r2383 - /branches/glitch-free/src/pulsecore/core-scache.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Wed May 7 13:34:43 PDT 2008


Author: lennart
Date: Wed May  7 22:34:39 2008
New Revision: 2383

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=2383&root=pulseaudio&view=rev
Log:
fix a memory leak

Modified:
    branches/glitch-free/src/pulsecore/core-scache.c

Modified: branches/glitch-free/src/pulsecore/core-scache.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/branches/glitch-free/src/pulsecore/core-scache.c?rev=2383&root=pulseaudio&r1=2382&r2=2383&view=diff
==============================================================================
--- branches/glitch-free/src/pulsecore/core-scache.c (original)
+++ branches/glitch-free/src/pulsecore/core-scache.c Wed May  7 22:34:39 2008
@@ -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 at cendio.se> for Cendio AB
 
   PulseAudio is free software; you can redistribute it and/or modify
@@ -228,6 +228,7 @@
     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;
 }




More information about the pulseaudio-commits mailing list