From: Pierre Ossman Date: Wed, 22 Feb 2006 15:36:11 +0000 (+0000) Subject: Wrong userdata used to init operation. X-Git-Tag: 1.0_branch~3957 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71fd26f895690f7e14b10b30a61b98f8ab7c8b24;p=profile%2Fivi%2Fpulseaudio.git Wrong userdata used to init operation. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@561 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/polyp/context.c b/src/polyp/context.c index 63acf19..15e6cd7 100644 --- a/src/polyp/context.c +++ b/src/polyp/context.c @@ -847,7 +847,7 @@ pa_operation* pa_context_send_simple_command(pa_context *c, uint32_t command, pa PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); - o = pa_operation_new(c, NULL, cb, o->userdata); + o = pa_operation_new(c, NULL, cb, userdata); t = pa_tagstruct_new(NULL, 0); pa_tagstruct_putu32(t, command);