diff options
author | Colin Guthrie <colin@mageia.org> | 2011-05-15 18:41:31 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-05-16 09:59:19 +0100 |
commit | e59fc6c6bcfc266e1f9ddaef3ed37d576ffa0b69 (patch) | |
tree | 81601932a00dbf66767052a6c50bd03841024148 /src | |
parent | 3c4accfde22da87e9e1990a08ca9a86a2608228b (diff) |
sink-input: Fix memory leak of proplist when sending format-changed events
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/sink-input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index b21cfae0..300b7286 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -1600,6 +1600,7 @@ int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save) { * reconnect */ pa_proplist_sets(p, "device", dest->name); pa_sink_input_send_event(i, PA_STREAM_EVENT_FORMAT_LOST, p); + pa_proplist_free(p); return -PA_ERR_NOTSUPPORTED; } |