summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2008-09-01 16:00:08 +0300
committerLennart Poettering <lennart@poettering.net>2008-09-03 19:44:40 +0200
commit79009d223582277c389ed1bfae792cbfbbc061e7 (patch)
tree63a040f7a58d9cf937dd873be7e56ec70dfa6832
parentc402de754583b41ae96409aebce713b0d07e2826 (diff)
command_get_info() segv in some conditions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
-rw-r--r--src/pulsecore/protocol-native.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 06245d1b..6ccee571 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -2791,7 +2791,7 @@ static void command_get_info(pa_pdispatch *pd, uint32_t command, uint32_t tag, p
pa_sink_input *si = NULL;
pa_source_output *so = NULL;
pa_scache_entry *sce = NULL;
- const char *name;
+ const char *name = NULL;
pa_tagstruct *reply;
pa_native_connection_assert_ref(c);