]> code.delx.au - pulseaudio/commit
sink-input, source-output: Don't assume that proplist has been initialized in free()
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 14 Nov 2013 08:53:44 +0000 (10:53 +0200)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 14 Nov 2013 13:17:17 +0000 (15:17 +0200)
commit49dd827373f2d2da52c8e002ad4c8a70a719fdca
tree1529d64c2f789085f7e6202fbbd2bf701b357bf7
parentd0fd59c34c6745fe62db6cc0f44b1a1004ea8f47
sink-input, source-output: Don't assume that proplist has been initialized in free()

It's bad form to assume in free() that any member of the struct has
been initialized. I ran into problems with this when I reordered
things in pa_sink_input_new() and pa_source_output_new().
src/pulsecore/sink-input.c
src/pulsecore/source-output.c