summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-03 23:21:51 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-03 23:21:51 +0200
commitd7b138daa2cc0be8ed03f1d3b2342f01266065a5 (patch)
tree3270c1accc0a95c0a2c2a0363d121186cec14dc4 /src
parenta6c11bec87abc40aad6a1a6e02047b5f7b123c90 (diff)
fix uninitialized memory access
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/sink-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index dedcf952..64a6cdf9 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -633,7 +633,7 @@ void pa_sink_input_drop(pa_sink_input *i, size_t nbytes /* in sink sample spec *
/* Called from thread context */
void pa_sink_input_process_rewind(pa_sink_input *i, size_t nbytes /* in sink sample spec */) {
size_t lbq;
- pa_bool_t called;
+ pa_bool_t called = FALSE;
pa_sink_input_assert_ref(i);
pa_assert(PA_SINK_INPUT_IS_LINKED(i->thread_info.state));